Uses
Uses | Description |
---|---|
wp-includes/plugin.php: add_action() | Hooks a function on to a specific action. |
Plugin bootstrap for Partial Refresh functionality.
(WP_Customize_Manager) (Required) Customizer bootstrap instance.
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' ) ); }
Version | Description |
---|---|
4.5.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_customize_selective_refresh/__construct