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!
📣 “ACF Chat Fridays”
— Advanced Custom Fields (@wp_acf) January 31, 2023
The ACF team holds their first open office hours this Friday! Come and talk ACF, and ask questions about building sites with the plugin.
We’d love to see you there!
📆 Friday 3rd Feb - 3pm UTC
👉 Register here - https://t.co/3UtvQbE4CU pic.twitter.com/oTwW9K1XQ0
© 2023 Advanced Custom Fields.
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 Cookie Policy. If you continue to use this site, you consent to our use of cookies.