do_action( 'auth_cookie_valid', string[] $cookie_elements, WP_User $user )
Fires once an authentication cookie has been validated.
Parameters
- $cookie_elements
-
(string[]) An array of data for the authentication cookie.
- $user
-
(WP_User) User object.
Source
Changelog
Version | Description |
---|---|
2.7.0 | Introduced. |
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/auth_cookie_valid