tsp_filter_add_tabs
Description
Filter to add/remove settings page tabs.
Parameters
Param | Type | Description |
$tabs | array | Setting tabs |
tsp_filter_post_types
Description
Filter to add/remove post types in settings.
Parameters
Param | Type | Description |
$all_post_types | array | All registered post types |
tsp_filter_taxonomies
Description
Filter to add/remove taxonomies in settings.
Parameters
Param | Type | Description |
$all_taxonomies | array | All registered taxonomies |
tsp_filter_meta_themes
Description
Filter to add/remove themes in post metadata.
Parameters
Param | Type | Description |
$active_themes | array | All themes |
tsp_filter_post_type_settings_themes
Description
Filter to add/remove themes in post type settings.
Parameters
Param | Type | Description |
$all_themes | array | All activated themes |
tsp_filter_archive_settings_themes
Description
Filter to add/remove themes in archive settings.
Parameters
Param | Type | Description |
$all_themes | array | All activated themes |
tsp_filter_classic_editor_themes
Description
Filter to add/remove themes in classic editor settings.
Parameters
Param | Type | Description |
$all_themes | array | All activated themes |
tsp_filter_front_page_themes
Description
Filter to add/remove themes in front page settings.
Parameters
Param | Type | Description |
$all_themes | array | All activated themes |
tsp_filter_blog_page_themes
Description
Filter to add/remove themes in blog page settings.
Parameters
Param | Type | Description |
$all_themes | array | All activated themes |
tsp_filter_block_themes
Description
Filter to add/remove block themes.
Parameters
Param | Type | Description |
$block_themes | array | Contains block themes |
tsp_filter_global_themes
Description
Filter to add/remove themes from all settings.
Parameters
Param | Type | Description |
$compatible_themes | int | Contains all themes |
tsp_filter_latest_post_page_themes
Description
Filter to add/remove restricted post types in TSP.
Parameters
Param | Type | Description |
$not_allowed_post_types | int | Contains restricted post types. |
tsp_filter_latest_post_page_themes
Description
Filter to add/remove themes in your latest post settings.
Parameters
Param | Type | Description |
$all_themes | array | Contains all themes. |
tsp_filter_debug_bar_title
Description
Filter to change debug bar title.
tsp_filter_debug_bar_classes
Description
Filter to add/remove debug bar classes.
tsp_filter_archive_theme
Description
Filter hook to change archive/category theme.
Parameters
Param | Type | Description |
$switched_theme | string | Contains switched theme. |
tsp_filter_update_switch_theme
Description
Filter to update the switched theme.
Parameters
Param | Type | Description |
$switched_theme | string | Contains switched theme. |
tsp_action_before_switch_theme
Description
Action fired right before switching theme.
Parameters
Param | Type | Description |
$switched_theme | string | Contains switched theme. |
$post_id | int | Contains post id. |
tsp_action_after_switch_theme
Description
Action fired right after switching theme.
Parameters
Param | Type | Description |
$switched_theme | string | Contains switched theme. |
$post_id | int | Contains post id. |
tsp_action_theme_switch_admin_bar
Description
Action fired during adding Theme Switcher drop down in admin bar.
tsp_action_debug_bar_enqueue_scripts
Description
Action fired during adding Theme Switcher debug bar enqueueing scripts.
tsp_filter_site_editor_enable
Description
Filter to enable/disable the Site Editor access.
NOTE: This plugin does not yet support the Site Editor functionality completely.