W3cubDocs

/WordPress

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

File: wp-includes/pluggable.php

View on Trac

Changelog

Version Description
2.7.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/auth_cookie_valid