0

I'm facing a issue from couple of days, after logout user can view the login user history details using browser back button, so how could I resolve this issue. Could you suggest me to solve this issue

Thanks in advance

0

Just Put this code in your user history details page

if(is_user_logged_in()){
  // your user history details code
}else{
  wp_redirect("Your login Page url");
}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.