Home › Forums › ACF PRO › using update_field for taxonomy terms › Reply To: using update_field for taxonomy terms
I have found a solution!
It’s all about the output function rather than the save function.
using get_field('field_name')
wasn’t outputting a value
I needed to use get_field(field_id)
(it will look something like this – field_52d84a083f9c6
)
I generally do use field ID’s as they’re supposed to be more reliable, for some reason I used the field name here and that was causing the problem.
Hope that helps someone
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.