WP_Customize_Selective_Refresh::__construct()publicWP 4.5.0

Plugin bootstrap for Partial Refresh functionality.

Method of the class: WP_Customize_Selective_Refresh{}

No Hooks.

Return

null. Nothing (null).

Usage

$WP_Customize_Selective_Refresh = new WP_Customize_Selective_Refresh();
$WP_Customize_Selective_Refresh->__construct( $manager );
$manager(WP_Customize_Manager) (required)
Customizer bootstrap instance.

Changelog

Since 4.5.0 Introduced.

WP_Customize_Selective_Refresh::__construct() code WP 6.5.2

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' ) );
}