customize_control_active

customize_control_active

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

See hook in core

Displaying hooks found in version: wordpress-6.7.2

apply_filters('customize_control_active') is found 1 times:

  • /wp-includes/class-wp-customize-control.php line 270
    266
    267
    268
    269
    270
    271
    272
    273
    274
    275
    276
         *
         * @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().