wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



auth_cookie › WordPress Filter Hooks

Da4.0.0
Deprecaton/a
apply_filters( 'auth_cookie', $cookie, $user_id, $expiration, $scheme, $token )
Parametri: (5)
  • (string) $cookie Authentication cookie.
    Richiesto:
  • (int) $user_id User ID.
    Richiesto:
  • (int) $expiration The time the cookie expires as a UNIX timestamp.
    Richiesto:
  • (string) $scheme Cookie scheme used. Accepts 'auth', 'secure_auth', or 'logged_in'.
    Richiesto:
  • (string) $token User's session token used.
    Richiesto:
Definito a:
Codex:

Filters the authentication cookie.





Sorgenti

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