admin_post_nopriv hook no longer working
-
Hi,
I’ve recently created a plugin that submits a front end form and fires an action using the admin_post and admin_post_nopriv hooks.
I’m not sure if it’s a bug (I can’t immediately think of a way you could actually solve this), but because the form submits to the wp-admin/admin-post.php url, the action is not actually fired (the user is instead redirected to he homepage).
Is this an issue with the plugin, or is there something I could change my end to ensure that I can still use the admin_post_nopriv hook in my plugin, with this plugin also installed and activated?
Thanks
Matt
- The topic ‘admin_post_nopriv hook no longer working’ is closed to new replies.