WP_Customize_Color_Control::enqueue() WordPress Method
The WP_Customize_Color_Control::enqueue() method is used to enqueue the control's scripts and styles.
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' ); }
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
3.4.0 | Introduced. |