customize_section_active

customize_section_active

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.7.2

apply_filters('customize_section_active') is found 1 times:

  • /wp-includes/class-wp-customize-section.php line 211
    207
    208
    209
    210
    211
    212
    213
    214
    215
    216
    217
         *
         * @param bool                 $active  Whether the Customizer section is active.
         * @param WP_Customize_Section $section WP_Customize_Section instance.
         */
        $active = apply_filters( 'customize_section_active', $active, $section );
     
        return $active;
    }
     
    /**
     * Default callback used when invoking WP_Customize_Section::active().

See this hook used in plugins: