WP_Customize_Selective_Refresh::__construct

Advertisement

Summery Summery

Plugin bootstrap for Partial Refresh functionality.

Syntax Syntax

WP_Customize_Selective_Refresh::__construct( WP_Customize_Manager $manager )

Parameters Parameters

$manager

(Required) Customizer bootstrap instance.

Source Source

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

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

Advertisement

Changelog Changelog

Changelog
Version Description
4.5.0 Introduced.

Advertisement

Leave a Reply