Home › Forums › ACF PRO › acf_form Use form but prevent post and post_meta creation › Reply To: acf_form Use form but prevent post and post_meta creation
This has not been tested and I don’t know if it will work.
Use an acf/pre_save_post filter https://www.advancedcustomfields.com/resources/acf-pre_save_post/
You’ll need to implement some checking to make sure you’re dealing with the right form, and you’ll also need to look in $_POST['acf']
to get the values.
Once you’re done processing the form
unset($_POST['acf']);
ACF only begins the save process based on this having a value…. I think.
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.