auth_cookie

最后更新于:2021-11-25 20:36:13

apply_filters( ‘auth_cookie’, string $cookie, int $user_id, int $expiration, string $scheme, string $token )

Filters the authentication cookie.

参数

$cookie

(string)
Authentication cookie.

$user_id

(int)
User ID.

$expiration

(int)
The time the cookie expires as a UNIX timestamp.

$scheme

(string)
Cookie scheme used. Accepts ‘auth’, ‘secure_auth’, or ‘logged_in’.

$token

(string)
User’s session token used.

源文件

文件: gc-includes/pluggable.php

View on Trac