wpseek.com
A WordPress-centric search engine for devs and theme authors



auth_cookie_valid › WordPress Action Hooks

Since2.7.0
Deprecatedn/a
do_action( 'auth_cookie_valid', $cookie_elements, $user )
Parameters: (2)
  • (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. }
    Required: Yes
  • (WP_User) $user User object.
    Required: Yes
Defined at:
Codex:

Fires once an authentication cookie has been validated.





Source

do_action( 'auth_cookie_valid', $cookie_elements, $user );