customize_controls_enqueue_scripts

Enqueue Customizer control scripts.

Description

add_action( 'customize_controls_enqueue_scripts', (array) $array ); 

Parameters (1)

0. $array (array) => array( __CLASS__, 'customize_controls_enqueue_scripts' )
The array.

Usage

To run the hook, copy the example below.
  1. // run the action 
  2. do_action( 'customize_controls_enqueue_scripts', $array ); 
The following example is for adding a hook callback.
  1. // define the customize_controls_enqueue_scripts callback 
  2. function action_customize_controls_enqueue_scripts( $array ) { 
  3. // make action magic happen here... 
  4. }; 
  5.  
  6. // add the action 
  7. add_action( 'customize_controls_enqueue_scripts', 'action_customize_controls_enqueue_scripts', 10, 1 ); 
To remove a hook callback, use the example below.
  1. // remove the action 
  2. remove_action( 'customize_controls_enqueue_scripts', 'action_customize_controls_enqueue_scripts', 10, 1 ); 

Defined (5)

The action is defined in the following location(s).

/modules/custom-css/custom-css-4.7.php  
  1. add_action( 'customize_controls_enqueue_scripts', array( __CLASS__, 'customize_controls_enqueue_scripts' ) ); 
/class.jetpack.php  
  1. add_action( 'customize_controls_enqueue_scripts', array( $this, 'devicepx' ) ); 
/modules/related-posts/class.related-posts-customize.php  
  1. add_action( 'customize_controls_enqueue_scripts', array( $this, 'customize_controls_enqueue_scripts' ) ); 
/modules/theme-tools/featured-content.php  
  1. add_action( 'customize_controls_enqueue_scripts', array( __CLASS__, 'enqueue_scripts' ) ); 
/modules/widgets.php  
  1. add_action( 'customize_controls_enqueue_scripts', 'jetpack_widgets_customizer_assets_controls' );