DEV Community


Posted on

All of my Wordpress AJAX requests returns html page for subscribers. Why?

I have my ajax post calls from to create post by users under a custom post. I have used the action hook in all works fine for admins. But when a subscriber uses the same, it returns a html but not the response.

But the server-side is working fine on…

Top comments (0)