wp_auth_check


wp_auth_check ( $response )

Parameters:
  • (array) $response The Heartbeat response.
Returns:
  • (array) $response The Heartbeat response with 'wp-auth-check' value set.
Defined at:

Description

Check 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.

Related Functions

wp_auth_check_html, wp_auth_check_load, wp_blacklist_check, wp_kses_attr_check, wp_authenticate_spam_check

Top Google Results

User discussions

wpseek mobile