I’m investigating an issue for a client who use ACF front-end forms for a couple of their public facing enquiry forms.
As a security measure, the client would like to block all public access to
/wp-admin/ with a NGINX rule, however the ACF front-end forms post-back to
Is there a way to have ACF front-end forms instead post to a URL outside
/wp-admin/, or perhaps use the WP REST-API instead?
Any help appreciated.
when using acf_form(), by default the form submits to the same URL that the form is located on, not to the admin. Where your forms are submitting to has been changed either by a plugin or in code. If you are using a plugin for front end forms then you need to contact the developer of that plugin.
Thank you for the clarification, John – that’s very helpful.