All Questions
Tagged with admin-ajax ip
1
question
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 ....