Fires once an authentication cookie has been validated.
Parameters
$cookie_elementsstring[]- Authentication cookie components.
usernamestringUser’s username.expirationstringThe time the cookie expires as a UNIX timestamp.tokenstringUser’s session token used.hmacstringThe security hash for the cookie.schemestringThe cookie scheme to use.
$userWP_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.