W3cubDocs

/WordPress

WP_Customize_Widgets::customize_preview_enqueue()

Enqueues scripts for the Customizer preview.

Source

File: wp-includes/class-wp-customize-widgets.php

public function customize_preview_enqueue() {
		wp_enqueue_script( 'customize-preview-widgets' );
	}

Changelog

Version Description
3.9.0 Introduced.

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