On this page
apply_filters( 'heartbeat_nopriv_received', array $response, array $data, string $screen_id )
Filters Heartbeat Ajax response in no-privilege environments.
Parameters
$responsearray-
The no-priv Heartbeat response.
$dataarray-
The $_POST data sent.
$screen_idstring-
The screen ID.
Source
File: wp-admin/includes/ajax-actions.php. View all references
$response = apply_filters( 'heartbeat_nopriv_received', $response, $data, $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_received