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

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

css - Make div keyboard-scrollable in jQuery Mobile? -

android - Keyboard hides my half of edit-text and button below it even in scroll view -