Is there a way to get customers logged out without calling wp-login.php?
I have found a work around for this problem by utilizing Cloudflare Firewall rules. 5 are Free. I used just 2. It works perfectly. Any inputs will be appreciated. What I did is, 1 Blocked direct access to /wp-login.php if it doesn’t contain /wp-login.php?action=logout. So, a customer can easily logout without calling for wp-login.php. No … Read more