do_action( 'auth_cookie_bad_session_token', string[] $cookie_elements )

Fires if a bad session token is encountered.


$cookie_elements string[]
Authentication cookie components. None of the components should be assumed to be valid as they come directly from a client-provided cookie value.
  • username string
    User's username.
  • expiration string
    The time the cookie expires as a UNIX timestamp.
  • token string
    User's session token used.
  • hmac string
    The security hash for the cookie.
  • scheme string
    The cookie scheme to use.

Top ↑


File: wp-includes/pluggable.php. View all references

do_action( 'auth_cookie_bad_session_token', $cookie_elements );

Top ↑


Version Description
4.0.0 Introduced.

Top ↑

User Contributed Notes

You must log in before being able to contribute a note or feedback.