heartbeat_nopriv_send WordPress Filter Hook
The heartbeat_nopriv_send hook is called when the Heartbeat API is used by a user who is not logged in. This hook can be used to customise the behaviour of the API for logged-out users.
apply_filters( 'heartbeat_nopriv_send',  array $response ,  string $screen_id  ) #
Filters Heartbeat Ajax response in no-privilege environments when no data is passed.
Parameters
- $response
- (array)The no-priv Heartbeat response. 
- $screen_id
- (string)The screen ID. 
Source
Changelog
| Version | Description | 
|---|---|
| 3.6.0 | Introduced. |