do_action( 'auth_cookie_valid', string[] $cookie_elements , WP_User $user )
Fires once an authentication cookie has been validated.
Parameters
-
$cookie_elements
string[] -
Authentication cookie components.
username
stringUser's username.expiration
stringThe time the cookie expires as a UNIX timestamp.token
stringUser's session token used.hmac
stringThe security hash for the cookie.scheme
stringThe cookie scheme to use.
-
$user
WP_User -
User object.
Source
File: wp-includes/pluggable.php
.
View all references
do_action( 'auth_cookie_valid', $cookie_elements, $user );
Changelog
Version | Description |
---|---|
2.7.0 | Introduced. |