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



set_auth_cookie › WordPress Action Hooks

Da4.9.0
Deprecaton/a
do_action( 'set_auth_cookie', $auth_cookie, $expire, $expiration, $user_id, $scheme, $token )
Parametri: (6)
  • (string) $auth_cookie Authentication cookie value.
    Richiesto:
  • (int) $expire The time the login grace period expires as a UNIX timestamp. Default is 12 hours past the cookie's expiration time.
    Richiesto:
  • (int) $expiration The time when the authentication cookie expires as a UNIX timestamp. Default is 14 days from now.
    Richiesto:
  • (int) $user_id User ID.
    Richiesto:
  • (string) $scheme Authentication scheme. Values include 'auth' or 'secure_auth'.
    Richiesto:
  • (string) $token User's session token to use for this cookie.
    Richiesto:
Definito a:
Codex:

Fires immediately before the authentication cookie is set.





Sorgenti

do_action( 'set_auth_cookie', $auth_cookie, $expire, $expiration, $user_id, $scheme, $token );