Home › Forums › General Issues › update image field with image from the wordpress media library › Reply To: update image field with image from the wordpress media library
hello john,
are you sure, that it doesn’t exist? since it has a field-key i thought it would automatically exist, but without content. maybe that was wrong and you are totally right.
however, i also experimented with an already created post and tried to do the same thing: update the image-field with an image from the wordpress media library, without success since i don’t understand the update_field function parameter $value. i figured out that i probably have to pass some kind of array to that function (like the one you get with get_field_object). however my php-skills weren’t enough to make that working.
could you explain me how to do that?
i also asked at the support forum but didn’t get any response for days :/
best regards
philipp
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.