customize_control_active

customize_control_active

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7

apply_filters('customize_control_active') is found 1 times:

  • /wp-includes/class-wp-customize-control.php line 270
    		 *
    		 * @param bool                 $active  Whether the Customizer control is active.
    		 * @param WP_Customize_Control $control WP_Customize_Control instance.
    		 */
    		$active = apply_filters( 'customize_control_active', $active, $control );
    
    		return $active;
    	}
    
    	/**
    	 * Default callback used when invoking WP_Customize_Control::active().