heartbeat_nopriv_tick action-hook . WP 3.6.0
Fires when Heartbeat ticks in no-privilege environments.
Allows the transport to be easily replaced with long-polling.
Usage
add_action( 'heartbeat_nopriv_tick', 'action_function_name_6887', 10, 2 ); function action_function_name_6887( $response, $screen_id ){ // action... }
- $response(array)
- The no-priv Heartbeat response.
- $screen_id(string)
- The screen ID.
Changelog
Since 3.6.0 | Introduced. |
Where the hook is called
wp-admin/includes/ajax-actions.php 67
do_action( 'heartbeat_nopriv_tick', $response, $screen_id );