Home › Forums › General Issues › Updating custom field values › Reply To: Updating custom field values
I don’t have code for you but what you’d have to do is this.
Create an acf/save_post filter https://www.advancedcustomfields.com/resources/acf-save_post/
In this filter you would get the value of the field saved in this post then you would do a query of other posts that have the same value and if you find one they you’d update the acf field on that other post. You would need to continue doing this until you don’t fond and posts with the same value.
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.