WordPress at a glance
filter is not described

customize_panel_active filter-hook . WP 4.1.0

Filters response of WP_Customize_Panel::active().


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

	return $active;
Whether the Customizer panel is active.
WP_Customize_Panel instance.

Where the hook is called

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

Where the hook is used (in WP core)

Does not used.