I am having issue with reading/updating field values when creating new post.
Reading only work if i manually click Save Draft then publish while update_fields doesn’t work at all. The first argument is already field key instead of name. Other coding not related to fields are working fine.
The same code inside the function if copied to page template works flawlessly.
Is this a known behaviour or do i missed anything?
Viewing 1 post (of 1 total)
You must be logged in to reply to this topic.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users