customize_section_active filter-hook . WP 4.1.0
Filters response of WP_Customize_Section::active().
Usage
add_filter( 'customize_section_active', 'filter_function_name_6352', 10, 2 ); function filter_function_name_6352( $active, $section ){ // filter... return $active; }
- $active(true/false)
- Whether the Customizer section is active.
- $section(WP_Customize_Section)
- WP_Customize_Section instance.
Where the hook is called
customize_section_active
wp-includes/class-wp-customize-section.php 195
$active = apply_filters( 'customize_section_active', $active, $section );