Filter: jsps_register_custom_skin

apply_filters( 'jsps_register_custom_skin', $cskins ) → {array}
Filters the list of Custom Skins. It's the best way to add visual themes via external plugins or themes. You can also add skins directly in your theme. Follow this tutorial to do it: Create a Buttons Skin

Parameters:

Name Type Default Description
$cskins array array() The list of Custom Skins.

Properties

Name Type Description
$cskins['slug'] array Info of a skin where slug is its shortname.

Properties

Name Type Description
$cskins['slug']['name'] string The visible name of the skin.
$cskins['slug']['author'] string The Name of the author displayed in the admin.
$cskins['slug']['author_url'] string The URL of the author displayed in the admin.
$cskins['slug']['css_url'] string The CSS URL used to style the skin.
$cskins['slug']['demo_url'] string The image of the demo to display it in the admin.
$cskins['slug']['demo_url_2x'] string The image used for the option in admin.
$cskins['slug']['support_compact'] boolean Does it have compact mode (tinier verion) support.
Since:
  • 2.0.0 First version
Author:
Source:
Tutorials:

Returns:

The list of Core Skins.
Type
array