Home › Forums › General Issues › Image array not returned with get_field › Reply To: Image array not returned with get_field
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.
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.