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

Fires when Heartbeat ticks in logged-in environments.

Description Description

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

Top ↑

Parameters Parameters


(array) The Heartbeat response.


(string) The screen ID.

Top ↑

Source Source

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

View on Trac

Top ↑

Changelog Changelog

Version Description
3.6.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.