heartbeat_nopriv_send WordPress Filter Hook

The heartbeat_nopriv_send hook is called when the Heartbeat API is used by a user who is not logged in. This hook can be used to customise the behaviour of the API for logged-out users.

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

Filters Heartbeat Ajax response in no-privilege environments when no data is passed.


Parameters

$response

(array)The no-priv 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