Title: Hook into wp_auth_check?
Last modified: August 22, 2016

---

# Hook into wp_auth_check?

 *  [ccprog](https://wordpress.org/support/users/ccprog/)
 * (@ccprog)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/hook-into-wp_auth_check/)
 * I have a plugin settings page with multiple tabs that are loaded individually
   using Ajax requests. I find that after wp-auth-check forces a new login the nonce
   I use in these requests has expired – rightfully so.
 * But how do I get a new one? My idea would be to check `heartbeat-tick.wp-auth-
   check` data for being false and then enqueue my own heartbeat request. Is that
   a good idea or is there another way I am supposed to do it?

The topic ‘Hook into wp_auth_check?’ is closed to new replies.

## Tags

 * [Heartbeat API](https://wordpress.org/support/topic-tag/heartbeat-api/)

 * In: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
 * 0 replies
 * 1 participant
 * Last reply from: [ccprog](https://wordpress.org/support/users/ccprog/)
 * Last activity: [11 years, 7 months ago](https://wordpress.org/support/topic/hook-into-wp_auth_check/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
