apply_filters( 'customize_panel_active', bool $active, WP_Customize_Panel $panel )

Filters response of WP_Customize_Panel::active().


Description


Parameters

$active

(bool) Whether the Customizer panel is active.

$panel

(WP_Customize_Panel) WP_Customize_Panel instance.


Top ↑

Source

File: wp-includes/class-wp-customize-panel.php

View on Trac


Top ↑

Changelog

Version Description
4.1.0 Introduced.