heartbeat_send WordPress Filter Hook

The heartbeat_send Wordpress hook allows you to modify the data that is sent with the heartbeat signal. This can be useful for modifying how often the heartbeat signal is sent, or for sending additional data along with the heartbeat signal.

apply_filters( 'heartbeat_send', array $response, string $screen_id ) #

Filters the Heartbeat response sent.


Parameters

$response

(array)The Heartbeat response.

$screen_id

(string)The screen ID.


Top ↑

Source

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

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
3.6.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More