Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



set_auth_cookie ›

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

Fires immediately before the authentication cookie is set.





Źródło

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