wp-includes/class-wp-customize-panel.php:188Check whether panel is active to current Customizer preview.
boolOne hook fires while WP_Customize_Panel::active() runs, in this order:
Filters response of WP_Customize_Panel::active().
final public function active() { $panel = $this; $active = call_user_func( $this->active_callback, $this ); /** * Filters response of WP_Customize_Panel::active(). * * @since 4.1.0 * * @param bool $active Whether the Customizer panel is active. * @param WP_Customize_Panel $panel WP_Customize_Panel instance. */ $active = apply_filters( 'customize_panel_active', $active, $panel ); return $active; }Introduced in 4.1.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
src/wp-includes/class-wp-customize-panel.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.