WP_Customize_Color_Control::enqueue()

Enqueue scripts/styles for the color picker.

Source

File: wp-includes/customize/class-wp-customize-color-control.php

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

Changelog

Version Description
3.4.0 Introduced.

© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_customize_color_control/enqueue