WP_Customize_Manager::add_customize_screen_to_heartbeat_settings( array $settings )

Filter heartbeat settings for the Customizer.

Description Description

Parameters Parameters


(array) (Required) Current settings to filter.

Top ↑

Return Return

(array) Heartbeat settings.

Top ↑

Source Source

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;

Top ↑

Changelog Changelog

Version Description
4.9.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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