I am working on a project where I will need to read an xml file and convert it into posts, this files has several fields that I would like them to be ACF fields. So wordpress let’s you insert posts via a function (wp_insert_post), is there something similar for ACF? Has any one tried adding field values programmatically? I don’t need an exact answer, just looking for some direction.
Viewing 1 post (of 1 total)
The topic ‘Is there a way to insert values to custom fields programmatically?’ is closed to new replies.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users