Title: heartbeat_nopriv_tick
Published: April 25, 2014
Last modified: August 20, 2026

---

# do_action( ‘heartbeat_nopriv_tick’, array $response, string $screen_id )

## In this article

 * [Description](https://developer.wordpress.org/reference/hooks/heartbeat_nopriv_tick/?output_format=md#description)
 * [Parameters](https://developer.wordpress.org/reference/hooks/heartbeat_nopriv_tick/?output_format=md#parameters)
 * [Source](https://developer.wordpress.org/reference/hooks/heartbeat_nopriv_tick/?output_format=md#source)
 * [Related](https://developer.wordpress.org/reference/hooks/heartbeat_nopriv_tick/?output_format=md#related)
 * [Changelog](https://developer.wordpress.org/reference/hooks/heartbeat_nopriv_tick/?output_format=md#changelog)

[ Back to top](https://developer.wordpress.org/reference/hooks/heartbeat_nopriv_tick/?output_format=md#wp--skip-link--target)

Fires when Heartbeat ticks in no-privilege environments.

## 󠀁[Description](https://developer.wordpress.org/reference/hooks/heartbeat_nopriv_tick/?output_format=md#description)󠁿

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

## 󠀁[Parameters](https://developer.wordpress.org/reference/hooks/heartbeat_nopriv_tick/?output_format=md#parameters)󠁿

 `$response`array

The no-priv Heartbeat response.

`$screen_id`string

The screen ID.

## 󠀁[Source](https://developer.wordpress.org/reference/hooks/heartbeat_nopriv_tick/?output_format=md#source)󠁿

    ```php
    do_action( 'heartbeat_nopriv_tick', $response, $screen_id );
    ```

[View all references](https://developer.wordpress.org/reference/files/wp-admin/includes/ajax-actions.php/)
[View on Trac](https://core.trac.wordpress.org/browser/tags/7.1/src/wp-admin/includes/ajax-actions.php#L66)
[View on GitHub](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-admin/includes/ajax-actions.php#L66-L66)

## 󠀁[Related](https://developer.wordpress.org/reference/hooks/heartbeat_nopriv_tick/?output_format=md#related)󠁿

| Used by | Description | 
| [wp_ajax_nopriv_heartbeat()](https://developer.wordpress.org/reference/functions/wp_ajax_nopriv_heartbeat/)`wp-admin/includes/ajax-actions.php` |

Handles the Heartbeat API in the no-privilege context via AJAX .

  |

## 󠀁[Changelog](https://developer.wordpress.org/reference/hooks/heartbeat_nopriv_tick/?output_format=md#changelog)󠁿

| Version | Description | 
| [3.6.0](https://developer.wordpress.org/reference/since/3.6.0/) | Introduced. |

## User Contributed Notes

You must [log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fdeveloper.wordpress.org%2Freference%2Fhooks%2Fheartbeat_nopriv_tick%2F)
before being able to contribute a note or feedback.