Skip to main content

All Questions

Tagged with
5 votes
2 answers
2k views

Protect wp-admin while whitelisting admin-ajax.php

I want to allow only my IP address to access wp-admin but at the same time don't want the calls to admin-ajax.php be blocked. So I want to whitelist admin-ajax.php. Does the following code in ....
ishchat's user avatar
  • 51