Ana içeriğe geç

Filter: auth_cookie_expiration

Filters the duration of the authentication cookie expiration period.

Parameters

NameTypeDescription
$lengthintDuration of the expiration period in seconds.
$user_idintUser ID.
$rememberboolWhether to remember the user login. Default false.

Since

  • 2.8.0

Source

Defined in inc/sso/auth-functions.php at line 52