do_action( 'heartbeat_tick', array $response, string $screen_id )

Fires when Heartbeat ticks in logged-in environments.


Description

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


Parameters

$response

(array) The Heartbeat response.

$screen_id

(string) The screen id.


Source

File: wp-admin/includes/ajax-actions.php

View on GitHub



Changelog

Changelog
Version Description
WP-3.6.0 Introduced.