WordPress at a glance
function is not described

WP_Customize_Selective_Refresh::enqueue_preview_scripts() public WP 4.5.0

Enqueues preview scripts.

{} It's a method of the class: WP_Customize_Selective_Refresh{}

No Hooks.

Return

null. Nothing.

Usage

$WP_Customize_Selective_Refresh = new WP_Customize_Selective_Refresh();
$WP_Customize_Selective_Refresh->enqueue_preview_scripts();

Changelog

Since 4.5.0 Introduced.

Code of WP_Customize_Selective_Refresh::enqueue_preview_scripts() WP 5.7.2

<?php
public function enqueue_preview_scripts() {
	wp_enqueue_script( 'customize-selective-refresh' );
	add_action( 'wp_footer', array( $this, 'export_preview_data' ), 1000 );
}