seesion login timeout

function myplugin_cookie_expiration( $expiration, $user_id, $remember ) {
    return $remember ? $expiration : 600;
}
add_filter( 'auth_cookie_expiration', 'myplugin_cookie_expiration', 99, 3 );

source _https://wordpress.stackexchange.com/questions/51874/how-reduce-wordpress-login-session-timeout-time

Tags: