PressTigers

How to Increase/Decrease the time of WordPress Login Session

When you work by utilizing an open Wi-Fi network or other individual’s PC, you ought to logout from those gadgets after a short interim of time. But while working at your PC (or some other gadget) with home network, getting kicked out before long may be irritating for you.

In order to avoid such a situation, you can increase or decrease the time of your WordPress login session by using a wp filterauth_cookie_expiration”:

By default, WordPress will keep you logged in for 2 weeks if you check the “Remember Me” option at the time of login. You can set the expiry date of the authorization login cookie by replacing the “5270400” with your preferred time span.

User Comments

1 thought on “How to Increase/Decrease the time of WordPress Login Session

    ConradGonzalez says:

    Usually I do not read article on blogs, however I would like to say that this write-up very compelled me to take a look at and do so! Your writing style has been surprised me. Thank you, quite great post.

Leave a Reply

Your email address will not be published. Required fields are marked *

Get in Touch