Description
Fires when Heartbeat ticks in logged-in environments. Allows the transport to be easily replaced with long-polling.
Occurrences
Filename | Line Number |
---|---|
wp-admin/includes/ajax-actions.php | 3526 |
Parameters
Type | Name | Description |
---|---|---|
array | $response | The Heartbeat response. |
string | $screen_id | The screen ID. |
PHP Doc
/**
* Fires when Heartbeat ticks in logged-in environments.
*
* Allows the transport to be easily replaced with long-polling.
*
* @since 3.6.0
*
* @param array $response The Heartbeat response.
* @param string $screen_id The screen ID.
*/