WordPress at a glance
function is not described

WP_Customize_Manager::add_customize_screen_to_heartbeat_settings() public WP 4.9.0

Filters heartbeat settings for the Customizer.

{} It's a method of the class: WP_Customize_Manager{}

No Hooks.

Return

Array. Heartbeat settings.

Usage

$WP_Customize_Manager = new WP_Customize_Manager();
$WP_Customize_Manager->add_customize_screen_to_heartbeat_settings( $settings );
$settings(array) (required)
Current settings to filter.

Changelog

Since 4.9.0 Introduced.

Code of WP_Customize_Manager::add_customize_screen_to_heartbeat_settings() WP 5.7.2

<?php
public function add_customize_screen_to_heartbeat_settings( $settings ) {
	global $pagenow;
	if ( 'customize.php' === $pagenow ) {
		$settings['screenId'] = 'customize';
	}
	return $settings;
}