WordPress开发者和主题制作者的搜索引擎



auth_cookie ›

Since4.0.0
已弃用n/a
apply_filters( 'auth_cookie', $cookie, $user_id, $expiration, $scheme, $token )
参数: (5)
  • (string) $cookie Authentication cookie.
    Required: Yes
  • (int) $user_id User ID.
    Required: Yes
  • (int) $expiration The time the cookie expires as a UNIX timestamp.
    Required: Yes
  • (string) $scheme Cookie scheme used. Accepts 'auth', 'secure_auth', or 'logged_in'.
    Required: Yes
  • (string) $token User's session token used.
    Required: Yes
定义在:
文档:

Filters the authentication cookie.





源码

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