apply_filters( 'auth_cookie_expiration', int $length, int $user_id, bool $remember )

Filters the duration of the authentication cookie expiration period.


Parameters

$length

Duration of the expiration period in seconds.

$user_id

User ID.

$remember

Whether to remember the user login. Default false.


Source

File: wp-includes/pluggable.php

View on GitHub



Changelog

Changelog
Version Description
WP-2.8.0 Introduced.