GC_Customize_Selective_Refresh::__construct()

最后更新于:2021-11-27 08:25:30

GC_Customize_Selective_Refresh::__construct( GC_Customize_Manager$manager)

Plugin bootstrap for Partial Refresh functionality.

参数

$manager

(GC_Customize_Manager) (Required) Customizer bootstrap instance.

源文件

文件: gc-includes/customize/class-gc-customize-selective-refresh.php

	public function __construct( GC_Customize_Manager $manager ) {
		$this->manager = $manager;
		require_once ABSPATH . GCINC . '/customize/class-gc-customize-partial.php';

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