W3cubDocs

/WordPress

WP_Customize_Media_Control::enqueue()

Enqueue control related scripts/styles.

Source

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

public function enqueue() {
		wp_enqueue_media();
	}

Changelog

Version Description
4.2.0 Moved from WP_Customize_Upload_Control.
3.4.0 Introduced.

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