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



set_logged_in_cookie › WordPress Action Hooks

Seit4.9.0
Veraltetn/v
do_action( 'set_logged_in_cookie', $logged_in_cookie, $expire, $expiration, $user_id, 'logged_in', $token )
Parameter: (6)
  • (string) $logged_in_cookie The logged-in 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 logged-in 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. Default 'logged_in'.
    Erforderlich: Ja
  • (string) $token User's session token to use for this cookie.
    Erforderlich: Ja
Definiert in:
Codex:

Fires immediately before the logged-in authentication cookie is set.





Quellcode

do_action( 'set_logged_in_cookie', $logged_in_cookie, $expire, $expiration, $user_id, 'logged_in', $token );