Description
Fires once an authentication cookie has been validated. }
Occurrences
Filename | Line Number |
---|---|
wp-includes/pluggable.php | 837 |
Parameters
Type | Name | Description |
---|---|---|
string[] | $cookie_elements | { Authentication cookie components. |
WP_User | $user | User object. |
PHP Doc
/**
* Fires once an authentication cookie has been validated.
*
* @since 2.7.0
*
* @param string[] $cookie_elements {
* Authentication cookie components.
*
* @type string $username User's username.
* @type string $expiration The time the cookie expires as a UNIX timestamp.
* @type string $token User's session token used.
* @type string $hmac The security hash for the cookie.
* @type string $scheme The cookie scheme to use.
* }
* @param WP_User $user User object.
*/