do_action( 'heartbeat_tick', array $response, string $screen_id )
Fires when Heartbeat ticks in logged-in environments.
Description
Allows the transport to be easily replaced with long-polling.
Parameters
- $response
-
(array) The Heartbeat response.
- $screen_id
-
(string) The screen ID.
Source
Changelog
Version | Description |
---|---|
3.6.0 | Introduced. |
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/heartbeat_tick