A WordPress-centric search engine for devs and theme authors



customize_panel_active ›

Since4.1.0
Deprecatedn/a
apply_filters( 'customize_panel_active', $active, $panel )
Parameters: (2)
  • (bool) $active Whether the Customizer panel is active.
    Required: Yes
  • (WP_Customize_Panel) $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 );