auth_cookie_expiration

最后更新于:2021-11-25 20:37:30

apply_filters( ‘auth_cookie_expiration’, int $length, int $user_id, bool $remember )

Filters the duration of the authentication cookie expiration period.

参数

$length

(int)
Duration of the expiration period in seconds.

$user_id

(int)
User ID.

$remember

(bool)
Whether to remember the user login. Default false.

源文件

文件: gc-includes/pluggable.php

View on Trac