WP_Customize_Selective_Refresh::__construct( WP_Customize_Manager $manager )

In this article

Plugin bootstrap for Partial Refresh functionality.

Parameters

$managerWP_Customize_Managerrequired
Customizer bootstrap instance.

Source

public function __construct( WP_Customize_Manager $manager ) {
	$this->manager = $manager;
	require_once ABSPATH . WPINC . '/customize/class-wp-customize-partial.php';

	add_action( 'customize_preview_init', array( $this, 'init_preview' ) );
}

Changelog

VersionDescription
4.5.0Introduced.

User Contributed Notes

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