Home › Forums › General Issues › migrate acf options to custom fields › Reply To: migrate acf options to custom fields
hi @enter64
If you use the methods above, you should be able to figure that out. You just need to loop through the data you have and remap it.
You can use WordPress’ wp_insert_post
to create the new posts and then remap the fields using ACF’s update_field()
functionality.
You’ll need to make sure those fields are set up for the custom post types via the ACF Admin before you can do the remapping.
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.