Home › Forums › General Issues › update_field after create post by code › Reply To: update_field after create post by code
I have a feeling its due to how the data is inserted. Something in my head tells me that you need change the priority on the save post function when inserting data from an import.
I assume the post is created when you import from your XLS?
What does your function look like to import and add the ACF fields?
Check the docs as I think you need to amend the priority on the function. You may need to use the field key rather than the field name but think its the priority.
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.