customize_controls_enqueue_scripts is action hook triggered after the WP Theme Customizer after customize_controls_init was called, its actions/callbacks executed, and its own styles and scripts enqueued, so you can use this hook to register your own scripts and styles for WP Theme Customizer.
<?php add_action( 'customize_controls_enqueue_scripts', 'function_name' ); ?>
where "function_name" is the name of the function to be called.
This action hook doesn't have parameters.
/** * Enqueue script for custom customize control. */ function custom_customize_enqueue() { wp_enqueue_script( 'custom-customize', get_template_directory_uri() . '/js/custom.customize.js', array( 'jquery', 'customize-controls' ), false, true ); } add_action( 'customize_controls_enqueue_scripts', 'custom_customize_enqueue' );
The customize_controls_enqueue_scripts hook is found in wp-admin/customize.php
.