Home › Forums › ACF PRO › New Attachment Field – Update images › Reply To: New Attachment Field – Update images
Hi again, I’m just coming back to this once more!
I realised I’m not 100% which field I should be updating.
I have a Radio Button (size) that is an option on image attachments.
I also have a Gallery field that holds those images.
I’d like the images to take the default value (med) when they are uploaded or a page with a gallery is published (as the gallery might contain images that don’t have a value set by the user yet)
Do I use the update_field() function on the gallery field or the radio button?
I hope that makes sense…
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.