W3cubDocs

/WordPress

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

$response = apply_filters( 'heartbeat_nopriv_received', $response, $data, $screen_id );

Changelog

Version Description
3.6.0 Introduced.

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/heartbeat_nopriv_received