Home › Forums › General Issues › Correct Way to Create a New ACF Post › Reply To: Correct Way to Create a New ACF Post
It depends on the fields. For simple text fields it doesn’t matter much. This includes anything that is stored as a text value. But for fields that are stored as serialized arrays or for things like image fields that store image ID this can be a problem.
You should use update_field() in ACF using the field_keys for the fields. Either that or add the ACF meta values manually. I’d go with using update_field() https://www.advancedcustomfields.com/resources/update_field/
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.