customize_loaded_components, $this->components, $this

customize_loaded_components, $this->components, $this

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: 7.0.3

apply_filters('customize_loaded_components, $this->components, $this') is found 1 times:

  • /wp-includes/class-wp-customize-manager.php line 359
    		 *
    		 * @param string[]             $components Array of core components to load.
    		 * @param WP_Customize_Manager $manager    WP_Customize_Manager instance.
    		 */
    		$components = apply_filters( 'customize_loaded_components', $this->components, $this );
    
    		require_once ABSPATH . WPINC . '/customize/class-wp-customize-selective-refresh.php';
    		$this->selective_refresh = new WP_Customize_Selective_Refresh( $this );
    
    		if ( in_array( 'widgets', $components, true ) ) {
    			require_once ABSPATH . WPINC . '/class-wp-customize-widgets.php';