On this page
WP_Customize_Selective_Refresh::__construct( WP_Customize_Manager $manager )
Plugin bootstrap for Partial Refresh functionality.
Parameters
$managerWP_Customize_Manager Required-
Customizer bootstrap instance.
Source
File: wp-includes/customize/class-wp-customize-selective-refresh.php. View all references
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' ) );
}
Related
Uses
| Uses | Description |
|---|---|
| add_action() wp-includes/plugin.php | Adds a callback function to an action hook. |
Used By
| Used By | Description |
|---|---|
| WP_Customize_Manager::__construct() wp-includes/class-wp-customize-manager.php | Constructor. |
Changelog
| Version | Description |
|---|---|
| 4.5.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_customize_selective_refresh/__construct