you use update_field(‘photo_image’, $attachment_id, $post_id);
what is the value of $attachment_id that you try to import?
do you know if $attachment_id has to be an array, inside a array, or a single value?
i can imagine that it has to be an array or inside a a array structure but i am not sure.
Viewing 4 posts - 1 through 4 (of 4 total)
The topic ‘Image array not returned with get_field’ 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