WP_Customize_Selective_Refresh::__construct()
Plugin bootstrap for Partial Refresh functionality.
Method of the class: WP_Customize_Selective_Refresh{}
No Hooks.
Return
null
. Ничего (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() WP Customize Selective Refresh:: construct code WP 6.4.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' ) ); }