Home › Forums › Front-end Issues › acf_form() for contact form without creating a post › Reply To: acf_form() for contact form without creating a post
I’ve wondered about this myself. After looking through the ACF code I believe that it possible. I have not tested this but it looks like if you unset $_POST['acf']
in your afv/pre_save_post filter that this will effectively short circuit things and stop ACF from saving the post.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.