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
do_action( 'auth_cookie_valid', $cookie_elements, $user );
Changelog
Version | Description |
---|---|
2.7.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.