WP_Customize_Selective_Refresh::init_preview()

In this article

Initializes the Customizer preview.

Source

public function init_preview() {
	add_action( 'template_redirect', array( $this, 'handle_render_partials_request' ) );
	add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_preview_scripts' ) );
}

Changelog

VersionDescription
4.5.0Introduced.

User Contributed Notes

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