WP_Customize_Manager::add_customize_screen_to_heartbeat_settings( array $settings ): array

In this article

Filters heartbeat settings for the Customizer.

Parameters

$settingsarrayrequired
Current settings to filter.

Return

array Heartbeat settings.

Source

public function add_customize_screen_to_heartbeat_settings( $settings ) {
	global $pagenow;

	if ( 'customize.php' === $pagenow ) {
		$settings['screenId'] = 'customize';
	}

	return $settings;
}

Changelog

VersionDescription
4.9.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.