I looking for to logout user from backoffice after 30 minutes of non activity except Administrator role.


  • 1
    WP doesn't use PHP sessions, I suspect there's some missing knowledge here about how cookies work, you can give it an expiration time but not a TTL/timeout – Tom J Nowell Mar 27 '18 at 16:56
  • It helps when you take the time to do a search. And although you seem not understand the rules of SE (therefore my down vote!), here a link – Charles Mar 29 '18 at 5:02
  • inactive logout plugin does not work well. I tested it before put my question here.... but thanks for your reply – sampaii Apr 3 '18 at 11:45