Home › Forums › General Issues › Bidirectional Relationships not updating both sides › Reply To: Bidirectional Relationships not updating both sides
The data looks correct, the question is why? The only thing that I can think of is that the field key reference is wrong.
After your code updates the field, what is the field key reference? Look at the meta key for the same post, you are looking for the one that has the same name but starts with an underscore. The value of this field will be something like “field_7777777”. Does this field key match the field key of the field you’re updating? Does this change when you re-updated the field by updating the post in the admin?
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.