WordPress: Restrict wp-admin and allow wp-ajax / admin-post.php

前端 未结 0 876
我在风中等你
我在风中等你 2021-02-01 01:27

I would like to restrict WordPress wp-admin to administrators while allowing wp-ajax and admin-post.php

This code restricts admin and allows ajax, but still blocks admin-

相关标签:
回答
  • 消灭零回复
提交回复
热议问题