When creating a new post using
wp_insert_post(), should I be adding the meta fields using the “meta_input” array, or should I be calling
update_field() for each ACF field I want to add to the post?
It seems to me that multiple
update_field() calls is very inefficient and I did not see an
update_fields() call in the docs.