WordPress at a glance
filter is not described

auth_cookie_expiration filter-hook . WP 2.8.0

Filters the duration of the authentication cookie expiration period.

Usage

add_filter( 'auth_cookie_expiration', 'filter_function_name_8054', 10, 3 );
function filter_function_name_8054( $length, $user_id, $remember ){
	// filter...

	return $length;
}
$length(int)
Duration of the expiration period in seconds.
$user_id(int)
User ID.
$remember(true/false)
Whether to remember the user login.
Default: false

Where the hook is called

wp_set_auth_cookie()
auth_cookie_expiration
wp_update_user()
auth_cookie_expiration
wp-includes/pluggable.php 818
$expiration = time() + apply_filters( 'auth_cookie_expiration', 14 * DAY_IN_SECONDS, $user_id, $remember );
wp-includes/pluggable.php 827
$expiration = time() + apply_filters( 'auth_cookie_expiration', 2 * DAY_IN_SECONDS, $user_id, $remember );
wp-includes/user.php 2011
$default_cookie_life = apply_filters( 'auth_cookie_expiration', ( 2 * DAY_IN_SECONDS ), $ID, false );

Where the hook is used (in WP core)

Does not used.