WP_Customize_Selective_Refresh::__construct()publicWP 4.5.0

Plugin bootstrap for Partial Refresh functionality.

Метод класса: WP_Customize_Selective_Refresh{}

Хуков нет.

Возвращает

null. Ничего.

Использование

$WP_Customize_Selective_Refresh = new WP_Customize_Selective_Refresh();
$WP_Customize_Selective_Refresh->__construct( $manager );
$manager(WP_Customize_Manager) (обязательный)
Customizer bootstrap instance.

Список изменений

С версии 4.5.0 Введена.

Код WP_Customize_Selective_Refresh::__construct() WP 6.1.1

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