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!
Accordions are a great way to group related information while allowing users to interactively show and hide content. In this video, Damon Cook goes in-depth on how to create an accessible accordion block using ACF PRO’s Repeater field.https://t.co/RXT0g25akN— Advanced Custom Fields (@wp_acf) March 2, 2023
© 2023 Advanced Custom Fields.