Tweaking WordPress September 19, 2019 /** * Logged in for 1 year. */ add_filter( 'auth_cookie_expiration', function() { return YEAR_IN_SECONDS; });