customize_register

customize_register

Hook Type: action
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.0.1

do_action('customize_register') is found 2 times:

  • /wp-includes/class-wp-customize-manager.php line 933
    		 * @since 3.4.0
    		 *
    		 * @param WP_Customize_Manager $manager WP_Customize_Manager instance.
    		 */
    		do_action( 'customize_register', $this );
    
    		if ( $this->settings_previewed() ) {
    			foreach ( $this->settings as $setting ) {
    				$setting->preview();
    			}
    		}
    
  • /wp-includes/theme.php line 3553
    		remove_action( 'customize_register', array( $wp_customize, 'register_controls' ) );
    		$wp_customize->register_controls();
    
    		/** This filter is documented in /wp-includes/class-wp-customize-manager.php */
    		do_action( 'customize_register', $wp_customize );
    	}
    	$wp_customize->_publish_changeset_values( $changeset_post->ID );
    
    	/*
    	 * Trash the changeset post if revisions are not enabled. Unpublished
    	 * changesets by default get garbage collected due to the auto-draft status.
    

See this hook used in plugins: