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' );
	}


Top ↑

Changelog

Changelog
VersionDescription
3.4.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.