How can i increase the login expiration length?
Don’t know if this is the best way, but I’ve been using this in functions.php in my themes: function keep_me_logged_in_for_1_year( $expirein ) { return 31556926; // 1 year in seconds } add_filter( ‘auth_cookie_expiration’, ‘keep_me_logged_in_for_1_year’ );