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



auth_cookie › WordPress Filter Hooks

Since4.0.0
Deprecatedn/a
apply_filters( 'auth_cookie', $cookie, $user_id, $expiration, $scheme, $token )
Parameters: (5)
  • (string) $cookie Authentication cookie.
    Required: Yes
  • (int) $user_id User ID.
    Required: Yes
  • (int) $expiration The time the cookie expires as a UNIX timestamp.
    Required: Yes
  • (string) $scheme Cookie scheme used. Accepts 'auth', 'secure_auth', or 'logged_in'.
    Required: Yes
  • (string) $token User's session token used.
    Required: Yes
Defined at:
Codex:

Filters the authentication cookie.





Source

return apply_filters( 'auth_cookie', $cookie, $user_id, $expiration, $scheme, $token );