On this page
apply_filters( 'customize_section_active', bool $active, WP_Customize_Section $section )
Filters response of WP_Customize_Section::active().
Parameters
$activebool-
Whether the Customizer section is active.
$sectionWP_Customize_Section-
WP_Customize_Section instance.
Source
File: wp-includes/class-wp-customize-section.php. View all references
$active = apply_filters( 'customize_section_active', $active, $section );
Related
Used By
| Used By | Description |
|---|---|
| WP_Customize_Section::active() wp-includes/class-wp-customize-section.php | Check whether section is active to current Customizer preview. |
Changelog
| Version | Description |
|---|---|
| 4.1.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/customize_section_active