wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



set_auth_cookie › WordPress Action Hooks

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

Fires immediately before the authentication cookie is set.





Quellcode

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