skip to Main Content

Brower back button issue in wordpress after logout

I am using the below redirect code in the functions.php file. add_action('wp_logout','auto_redirect_after_logout'); function auto_redirect_after_logout(){ $adfsurllogouturl = 'some url'; wp_redirect( $adfsurllogouturl );exit(); } It's working fine. The issue is that once logged out, it redirects to SOMEURL when I click on…

VIEW QUESTION
Back To Top
Search