customize_controls_init action-hookWP 3.4.0

Fires when Customizer controls are initialized, before scripts are enqueued.

Usage

add_action( 'customize_controls_init', 'wp_kama_customize_controls_init_action' );

/**
 * Function for `customize_controls_init` action-hook.
 * 
 * @return void
 */
function wp_kama_customize_controls_init_action(){

	// action...
}

Changelog

Since 3.4.0 Introduced.

Where the hook is called

In file: /wp-admin/customize.php
customize_controls_init
wp-admin/customize.php 112
do_action( 'customize_controls_init' );

Where the hook is used in WordPress

wp-includes/class-wp-customize-manager.php 388
add_action( 'customize_controls_init', array( $this, 'prepare_controls' ) );
wp-includes/class-wp-customize-widgets.php 113
add_action( 'customize_controls_init', array( $this, 'customize_controls_init' ) );