WordPress at a glance
filter is not described

customize_panel_active filter-hook . WP 4.1.0

Filters response of WP_Customize_Panel::active().

Usage

add_filter( 'customize_panel_active', 'filter_function_name_2781', 10, 2 );
function filter_function_name_2781( $active, $panel ){
	// filter...

	return $active;
}
$active(true/false)
Whether the Customizer panel is active.
$panel(WP_Customize_Panel)
WP_Customize_Panel instance.

Список изменений

С версии 4.1.0 Введена.

Где вызывается хук

WP_Customize_Panel::active()
customize_panel_active
wp-includes/class-wp-customize-panel.php 194
$active = apply_filters( 'customize_panel_active', $active, $panel );

Где используется хук в ядре WP

Использование не найдено.