WP_Customize_Color_Control::enqueue()publicWP 3.4.0

Enqueue scripts/styles for the color picker.

Method of the class: WP_Customize_Color_Control{}

No Hooks.

Return

null. Nothing (null).

Usage

$WP_Customize_Color_Control = new WP_Customize_Color_Control();
$WP_Customize_Color_Control->enqueue();

Changelog

Since 3.4.0 Introduced.

WP_Customize_Color_Control::enqueue() code WP 6.5.4

public function enqueue() {
	wp_enqueue_script( 'wp-color-picker' );
	wp_enqueue_style( 'wp-color-picker' );
}