wpseek.com
A WordPress-centric search engine for devs and theme authors



customize_panel_active › WordPress Filter Hooks

Since4.1.0
Deprecatedn/a
apply_filters( 'customize_panel_active', $active, $panel )
Parameters: (2)
  • () active Whether the Customizer panel is active.
    Required: Yes
  • () panel WP_Customize_Panel instance.
    Required: Yes
Defined at:
Codex:

Filters response of WP_Customize_Panel::active().





Source

$active = apply_filters( 'customize_panel_active', $active, $panel );