wp_auth_check ( $response )
- (array) response The Heartbeat response.
- (array) The Heartbeat response with 'wp-auth-check' value set.
- Introduced in WordPress: 3.6.0
- Deprecated in WordPress: —
Checks whether a user is still logged in, for the heartbeat.Send a result that shows a log-in box if the user is no longer logged in,
or if their cookie is within the grace period.