Home › Forums › Front-end Issues › acf_form() always creates two posts › Reply To: acf_form() always creates two posts

There are only a couple of reason that I can think of for duplicate posts being created. One is that there is another pre_save_posts filter running. The second is that there is another plugin that’s creating a new post.
Have you tried disabling all other plugins on the site? Do you know if there are any other filters running when the form is submitted?
One last thing that may cause it, but it’s way out there, is calling acf_form_head() twice.
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.