W3cubDocs

/WordPress

apply_filters( ‘heartbeat_send’, array $response, string $screen_id )

Filters the Heartbeat response sent.

Parameters

$responsearray
The Heartbeat response.
$screen_idstring
The screen ID.

Source

$response = apply_filters( 'heartbeat_send', $response, $screen_id );

Changelog

Version Description
3.6.0 Introduced.

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/heartbeat_send