do_action( ‘heartbeat_tick’, array $response, string $screen_id )

In this article

Fires when Heartbeat ticks in logged-in environments.

Description

Allows the transport to be easily replaced with long-polling.

Parameters

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

Source

do_action( 'heartbeat_tick', $response, $screen_id );

Changelog

VersionDescription
3.6.0Introduced.

User Contributed Notes

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