W3cubDocs

/WordPress

apply_filters( ‘customize_control_active’, bool $active, WP_Customize_Control $control )

Filters response of WP_Customize_Control::active().

Parameters

$activebool
Whether the Customizer control is active.
$controlWP_Customize_Control

Source

$active = apply_filters( 'customize_control_active', $active, $control );

Changelog

Version Description
4.0.0 Introduced.

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/customize_control_active