Home › Forums › General Issues › Two taxonomy fields with the same custom taxonomy › Reply To: Two taxonomy fields with the same custom taxonomy
It cannot be done this way using save and load terms on ACF fields. You will need to create an acf/save_post filter https://www.advancedcustomfields.com/resources/acf-save_post/, get the values from the two fields and use wp_set_object_terms() https://codex.wordpress.org/Function_Reference/wp_set_object_terms to update them yourself.
ACF uses false for $append, if it did not then it could never remove a term when one is deleted from the field.
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.