Home › Forums › Add-ons › Repeater Field › Taxonomy field inside a repeater not saving properly? › Reply To: Taxonomy field inside a repeater not saving properly?
John,
Thanks for the clarification. I wish there was a warning too because it took me hours of trial and error. I thought I was doing something wrong, until I arrived here.
I think the last line before closing your function should be
wp_set_object_terms($post_id, $terms, 'YOUR TAXONOMY HERE', false);
The other one you have (set_oject_terms) is the hook… but I’m not an expert on this.
Thanks so much!
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.