WP_Customize_Selective_Refresh::enqueue_preview_scripts()

Enqueues preview scripts.


Source

File: wp-includes/customize/class-wp-customize-selective-refresh.php. View all references

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


Top ↑

Changelog

Changelog
Version Description
4.5.0 Introduced.

Top ↑

User Contributed Notes

You must log in before being able to contribute a note or feedback.