Support

Account

Home Forums Front-end Issues Blocking access to wp-admin while using a front-end form Reply To: Blocking access to wp-admin while using a front-end form

  • You’re totally right… I should have checked my code. In thinking about it, it makes perfect sense: you are checking that the user is not an admin and that AJAX is not being run (which would be in the backend). I went back to my implementation of it, which is quite a bit more complex due to the nature of my site, but I am effectively doing the same thing. I guess I just got confused when I applied the logic to your instance on here. Sorry about that! Glad it’s working for you.