heartbeat_received WordPress Filter Hook
The heartbeat_received hook is one of the most important hooks in WordPress. It is called when the heartbeat "pings" the server to check for new data. This hook is used to check for new posts, comments, and other data that might be available.
apply_filters( 'heartbeat_received', array $response , array $data , string $screen_id ) #
Filters the Heartbeat response received.
Parameters
- $response
(array)The Heartbeat response.
- $data
(array)The $_POST data sent.
- $screen_id
(string)The screen ID.
Source
Changelog
Version | Description |
---|---|
3.6.0 | Introduced. |