Home › Forums › ACF PRO › ACF Form: duplicate post › Reply To: ACF Form: duplicate post
It’s not really possible with ACF without doing an quite a bit of work. I suppose you could create a true false field called “dulicated” or something like that, then create a pre_save_post filter and test if that field is checked. If it is then create a new post by copying the values and returning the new post ID from your filter.
This is the plugin I use for duplicating posts, but it does not work on the front end. https://wordpress.org/plugins/duplicate-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.