A WordPress-centric search engine for devs and theme authors



heartbeat_tick ›

Since3.6.0
Deprecatedn/a
do_action( 'heartbeat_tick', $response, $screen_id )
Parameters: (2)
  • (array) $response The Heartbeat response.
    Required: Yes
  • (string) $screen_id The screen id.
    Required: Yes
Defined at:
Codex:

Fires when Heartbeat ticks in logged-in environments.

Allows the transport to be easily replaced with long-polling.





Source

do_action( 'heartbeat_tick', $response, $screen_id );