customize_controls_print_scripts action-hookWP 3.4.0

Fires when Customizer control scripts are printed.

Usage

add_action( 'customize_controls_print_scripts', 'wp_kama_customize_controls_print_scripts_action' );

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

	// action...
}

Changelog

Since 3.4.0 Introduced.

Where the hook is called

In file: /wp-admin/customize.php
customize_controls_print_scripts
wp-admin/customize.php 174
do_action( 'customize_controls_print_scripts' );

Where the hook is used in WordPress

wp-admin/customize.php 103
add_action( 'customize_controls_print_scripts', 'print_head_scripts', 20 );
wp-includes/class-wp-customize-widgets.php 116
add_action( 'customize_controls_print_scripts', array( $this, 'print_scripts' ) );