On my website, registered users (subscriber role) can send drafts and, if admins validate them, they are published.
I'm trying to add a tag box to frontend editor used to send new posts. To implement the autocomplete feature I'm making an AJAX call to this URL:
http://example.com/wp-admin/admin-ajax.php?action=ajax-tag-search&tax=post_tag
That works great for an administrator user, but it doesn't work for subscribers. Does anyone know any way to achieve this without calling to admin-ajax.php
?