On this page
do_action( 'heartbeat_nopriv_tick', array $response, string $screen_id )
Fires when Heartbeat ticks in no-privilege environments.
Description
Allows the transport to be easily replaced with long-polling.
Parameters
$responsearray-
The no-priv Heartbeat response.
$screen_idstring-
The screen ID.
Source
File: wp-admin/includes/ajax-actions.php. View all references
do_action( 'heartbeat_nopriv_tick', $response, $screen_id );
Related
Used By
| Used By | Description |
|---|---|
| wp_ajax_nopriv_heartbeat() wp-admin/includes/ajax-actions.php | Ajax handler for the Heartbeat API in the no-privilege context. |
Changelog
| Version | Description |
|---|---|
| 3.6.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/heartbeat_nopriv_tick