Filter heartbeat settings for the Customizer.
(array) (Required) Current settings to filter.
(array) Heartbeat settings.
File: wp-includes/class-wp-customize-manager.php
public function add_customize_screen_to_heartbeat_settings( $settings ) { global $pagenow; if ( 'customize.php' === $pagenow ) { $settings['screenId'] = 'customize'; } return $settings; }
Version | Description |
---|---|
4.9.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_customize_manager/add_customize_screen_to_heartbeat_settings