Style Manager 2.7.0 has 35 actions and 74 filters, read directly from its source code on Nov 18, 2026. The list updates automatically when a new version is released.
How to use these hooks
Actions let you run your own code at a specific moment. Filters let you change a value before the plugin uses it. Put your code in a child theme's functions.php or a code-snippets plugin, never in the plugin's own files, because updates overwrite them.
// Run your own code when Style Manager fires an action
add_action( 'customize_register', function( $manager ) {
// Your code runs here.
}, 10, 1 );
// Change a value Style Manager is about to use
add_filter( 'style_manager/pixelgrade_cloud_request_data', function( $request_data ) {
// Change $request_data here.
return $request_data;
}, 10, 1 );Parts of a name in {braces} are filled in at runtime (for example a post type or field ID). Choose Example on any hook for a ready-to-edit snippet.
All hooks
-
/** * Filters request data sent to the cloud. */ apply_filters( 'style_manager/pixelgrade_cloud_request_data', $request_data ); -
/** * This action is documented in wp-includes/class-wp-customize-manager.php */ do_action( 'customize_register', $manager ); -
/** * Start composing the object graph in Style Manager. */ do_action( 'style_manager/compose', $this, $container ); -
/** * Finished composing the object graph in Style Manager. */ do_action( 'style_manager/composed', $this, $container ); -
/** * Map of section_id / control_id => gate key (currently only 'plus'). * Companions/themes can extend the set of color/typography objects presented * behind Pixelgrade Plus. */ apply_filters( 'style_manager/plus_gated_objects', [ 'sm_fine_tune_color_palette_section' => 'plus', 'sm_color_usage_section' => 'plus', 'sm_colorize_elements_button' => 'plus', 'sm_fine_tune_font_palette_section' => 'plus', 'sm_font_usage_section' => 'plus', ] ); -
/** * Filter the canonical list of premium Style Manager setting ids. */ apply_filters( 'style_manager/plus_gated_setting_ids', $ids ); -
/** * Fires after Style Manager settings have been successfully saved. */ do_action( 'style_manager/settings_saved', $result['saved'] ); -
/** * Toggle-driven control visibility (the Customizer gets this from * theme-shipped JS, e.g. Anima's motion controls script). Filter: setting_id * => [ dependent setting_ids shown when truthy ]. */ apply_filters( 'style_manager/site_editor_control_dependencies', [ 'sm_page_transitions_enable' => [ 'sm_page_transition_style', 'sm_logo_loading_style', 'sm_transition_symbol', ], 'sm_intro_animations_enable' => [ 'sm_intro_animations_style', 'sm_intro_animations_speed', ], ] ); -
/** * Filter the body class prefixes mirrored onto the Site Editor canvas. */ apply_filters( 'style_manager/site_editor_preview_body_class_prefixes', [ 'u-collection-' ] ); -
/** * Group headers injected before specific controls in a section — gives * sibling controls a shared identity (e.g. the Collections pair in the Tweak * Board). A header may carry an optional `preview => [ 'mode' => ... ]` to * expose a per-group Preview affordance (the section-level Preview is * one-per-section; this lets the Tweak Board preview Site Frame and Fancy * Titles independently). Anchors for the... */ apply_filters( 'style_manager/site_editor_section_group_headers', $section_group_headers ); -
/** * Filter the section IDs Style Manager exposes in the Site Editor. */ apply_filters( 'style_manager/site_editor_section_ids', $section_ids, $manager ); -
/** * Granular sections folded into their parent section as tabs (high-level -> * low-level, the Nova Blocks inspector pattern). The Customizer relocated * these to a Theme Options panel as a workaround. Filter: parent section id => * ordered tabs [ [ id, label ] ] where the parent lists itself first. */ apply_filters( 'style_manager/site_editor_section_tabs', $this->get_site_editor_section_tabs() ); -
apply_filters( 'customify_pixelgrade_cloud_request_data', $request_data, $this ); -
apply_filters( 'style_manager/filter_font_option_markup', $html, $font_family, $active_font_family, $font_type ); -
apply_filters( 'style_manager/filter_font_option_markup_no_family', $html, $active_font_family ); -
apply_filters( 'style_manager/get_font_palettes', $config ); -
do_action( 'style_manager/invalidate_all_caches' ); -
apply_filters( 'style_manager/localized_js_settings', $this->localized ); -
apply_filters( 'customify_filter_fields', $data ); -
apply_filters( 'customify_final_config', $data ); -
apply_filters( 'customify_style_manager_external_api_endpoints', $endpoints ); -
apply_filters( 'customify_theme_fonts', $this->theme_fonts ); -
apply_filters( 'https_ssl_verify', ABSPATH . WPINC . '/certificates/ca-bundle.crt', $url ); -
apply_filters( 'pixelgrade/has_entitlement', false, $entitlement ); -
apply_filters( 'style_manager_dynamic_style', $custom_css ); -
do_action( 'style_manager/after_preset_control', $this ); -
do_action( 'style_manager/after_process_customizer_config', $wp_customize ); -
do_action( 'style_manager/after_sm_radio_control', $this ); -
apply_filters( 'style_manager/allow_child_theme_mod_migrate_notice', true ); -
do_action( 'style_manager/before_preset_control', $this ); -
do_action( 'style_manager/before_process_customizer_config', $wp_customize ); -
do_action( 'style_manager/before_sm_radio_control', $this ); -
apply_filters( 'style_manager/cloud_font_palettes_allowed_tiers', [ 'free' ] ); -
apply_filters( 'style_manager/cloud_fonts', [] ); -
apply_filters( 'style_manager/cloud_fonts_are_supported', is_sm_supported() ); -
apply_filters( 'style_manager/color_palettes_are_supported', is_sm_supported() ); -
apply_filters( 'style_manager/css_selector', $this->css_cleanup_whitespace( $css_property['selector'] ), $css_property ); -
apply_filters( 'style_manager/customizer_config_pre_processing', $this->options->get_customizer_config(), $wp_customize ); -
apply_filters( 'style_manager/customizer_search_is_supported', true ); -
apply_filters( 'style_manager/default_cloud_font_categories', $default_categories ); -
apply_filters( 'style_manager/default_cloud_fonts', $default_config ); -
apply_filters( 'style_manager/default_color_palettes', [] ); -
apply_filters( 'style_manager/default_font_palettes', $default_config ); -
apply_filters( 'style_manager/default_font_subfields_config', [ 'font-family' => true, 'font-weight' => true, 'font-size' => false, 'line-height' => false, 'letter-spacing' => false, 'text-align' => false, 'text-transform' => false, 'text-decoration' => false, ], $item, $key ); -
apply_filters( 'style_manager/default_system_fonts', $default_system_fonts ); -
apply_filters( 'style_manager/enable_lab', false ); -
apply_filters( 'style_manager/external_api_endpoints', [ 'cloud' => [ 'getDesignAssets' => [ 'method' => 'GET', 'url' => PIXELGRADE_CLOUD__API_BASE . 'wp-json/pixcloud/v1/front/design_assets', ], 'stats' => [ 'method' => 'POST', 'url' => PIXELGRADE_CLOUD__API_BASE . 'wp-json/pixcloud/v1/front/stats', ], ], ] ); -
apply_filters( 'style_manager/fetch_design_assets', $response_data['data'] ); -
apply_filters( 'style_manager/filter_fields', [] ); -
apply_filters( 'style_manager/filter_google_fonts_list', require( $fonts_path ) ); -
apply_filters( 'style_manager/final_config', $data ); -
apply_filters( 'style_manager/font_categories', [] ); -
apply_filters( 'style_manager/font_css_selector', FontsHelper::standardizeFontSelector( $fontConfig['selector'] ), $fontConfig ); -
do_action( 'style_manager/font_family_after_cloud_fonts_options', $active_font_family, $current_value ); -
do_action( 'style_manager/font_family_after_font_library_fonts_options', $active_font_family, $current_value ); -
do_action( 'style_manager/font_family_after_google_fonts_options', $active_font_family, $current_value ); -
do_action( 'style_manager/font_family_after_recommended_fonts_options', $active_font_family, $current_value ); -
do_action( 'style_manager/font_family_after_system_fonts_options', $active_font_family, $current_value ); -
do_action( 'style_manager/font_family_after_theme_fonts_options', $active_font_family, $current_value ); -
do_action( 'style_manager/font_family_after_third_party_fonts_options', $active_font_family, $current_value ); -
do_action( 'style_manager/font_family_before_cloud_fonts_options', $active_font_family, $current_value ); -
do_action( 'style_manager/font_family_before_font_library_fonts_options', $active_font_family, $current_value ); -
do_action( 'style_manager/font_family_before_google_fonts_options', $active_font_family, $current_value ); -
do_action( 'style_manager/font_family_before_recommended_fonts_options', $active_font_family, $current_value ); -
do_action( 'style_manager/font_family_before_system_fonts_options', $active_font_family, $current_value ); -
do_action( 'style_manager/font_family_before_theme_fonts_options', $active_font_family, $current_value ); -
do_action( 'style_manager/font_family_before_third_party_fonts_options', $active_font_family, $current_value ); -
do_action( 'style_manager/font_family_select_after_options', $current_font_family, $current_value, $this->id ); -
do_action( 'style_manager/font_family_select_before_options', $current_font_family, $current_value, $this->id ); -
do_action( 'style_manager/font_family_select_options', $current_font_family, $current_value, $this->id ); -
apply_filters( 'style_manager/font_library_fonts', [] ); -
apply_filters( 'style_manager/font_palettes_are_supported', current_theme_supports( 'style_manager_font_palettes' ) ); -
apply_filters( 'style_manager/fonts_editor_webfont_script', $output ); -
apply_filters( 'style_manager/fonts_stylesheet_urls', $urls ); -
apply_filters( 'style_manager/fonts_valid_subfield_values', [ 'text_align' => [ 'initial' => esc_html__( 'Initial', 'style-manager' ), 'center' => esc_html__( 'Center', 'style-manager' ), 'left' => esc_html__( 'Left', 'style-manager' ), 'right' => esc_html__( 'Right', 'style-manager' ), ], 'text_transform' => [ 'none' => esc_html__( 'None', 'style-manager' ), 'capitalize' => esc_html__( 'Title Case', 'style-manager' ), 'uppercase' => esc_html__( 'UPPERC... ); -
apply_filters( 'style_manager/fonts_webfont_script', $output ); -
apply_filters( 'style_manager/get_cloud_font_categories', $categories ); -
apply_filters( 'style_manager/get_cloud_fonts', $config ); -
apply_filters( 'style_manager/get_cloud_system_fonts', $config ); -
apply_filters( 'style_manager/get_color_palettes', $config ); -
apply_filters( 'style_manager/get_design_assets', $this->design_assets ); -
apply_filters( 'style_manager/get_site_data', $site_data ); -
apply_filters( 'style_manager/get_theme_configs', $theme_configs ); -
apply_filters( 'style_manager/get_theme_data', $theme_data ); -
apply_filters( 'style_manager/gutenberg_is_supported', $gutenberg ); -
apply_filters( 'style_manager/is_supported', current_theme_supports( 'customizer_style_manager' ) ); -
apply_filters( 'style_manager/layout_is_supported', true ); -
apply_filters( 'style_manager/maybe_fetch_design_assets', $data ); -
apply_filters( 'style_manager/owns_font_families', $owns ); -
apply_filters( 'style_manager/pixelgrade_plus_entitlement_bridge_is_available', $available ); -
do_action( 'style_manager/plugin_settings_cfdatastore/before_save', $key, $value, $new_all_values, $old_all_values ); -
apply_filters( 'style_manager/plus_upsell_url', 'https://pixelgrade.com/plus' ); -
do_action( 'style_manager/process_customizer_config_added_panel', $panel, $panel_args, $wp_customize ); -
do_action( 'style_manager/process_customizer_config_added_section', $section, $section_args, $wp_customize ); -
do_action( 'style_manager/process_customizer_config_finished_panel', $panel, $panel_args, $wp_customize ); -
do_action( 'style_manager/process_customizer_config_finished_section', $section_id, $wp_customize ); -
apply_filters( 'style_manager/runtime_palettes', [], $saved_palettes, $context ); -
do_action( 'style_manager/skip_process_customizer_config', $customizer_config, $wp_customize ); -
apply_filters( 'style_manager/sm_panel_config', $sm_panel_config, $sm_section_config ); -
apply_filters( 'style_manager/standardized_font_value', $value, $fontConfig ); -
apply_filters( 'style_manager/standardized_fonts_list', $newFontsList, $fontList ); -
apply_filters( 'style_manager/system_fonts', [] ); -
apply_filters( 'style_manager/theme_configs_are_supported', is_sm_supported() ); -
apply_filters( 'style_manager/theme_fonts', [] ); -
apply_filters( 'style_manager/third_party_font_group_label', esc_html__( 'Third-Party Fonts', 'style-manager' ), $active_font_family, $current_value ); -
apply_filters( 'style_manager/third_party_fonts', [] ); -
apply_filters( 'style_manager/tweak_board_is_supported', true ); -
do_action( 'style_manager/updated_custom_font_palette_in_use', $is_custom_palette ); -
apply_filters( 'wupdates_gather_ids', [] );
Generated from Style Manager's GPL-licensed source code. Hooks inside bundled third-party libraries are not listed.
Done for you
Rather have it built for you?
Tell us what should change and we’ll write and test the code using these hooks.
Custom hook snippet
from $49
A small, update-safe change built on the plugin’s own hooks.
- Code written against the plugin’s actions and filters
- Tested on a staging copy of your site
- Install instructions included
Typical turnaround: 2–3 business days
Choose thisPlugin customisation
from $149
New features or changed behaviour, without editing the plugin’s files.
- Built as a companion plugin, so updates never wipe it
- Exact quote before we start
- Tested on staging, then deployed
Typical turnaround: 3–7 business days
Choose thisNot sure which fits? Describe what you need and we’ll suggest the simplest option.
Can't find the right hook?
We can build the customisation for you. Describe what you need: