php - How can I change the login time cookie in a password protected page in wordpress? -
i know set 10 days , 15 minutes. i've seen lot of answers on internet wp-pass file appears file doesn't exist anymore in wordpress 3.5
would know how change ?
thanks,
if using latest wordpress can use auth_cookie_expiration
filter. it:
add_filter('auth_cookie_expiration', function($expiration){ return 900; /*15 minutes*/ });
you'd have add plugin.
Comments
Post a Comment