Home › Forums › General Issues › Bidirectional Relationships not updating both sides › Reply To: Bidirectional Relationships not updating both sides
I’d have to see all the code of your filter.
But, if you have two different fields with 2 different field keys then this is the issue. The code example you’re following is designed to work with fields that have the same field key. In other words, the same field/field_group assigned to both post types.
Sorry if I missed anything where you said it was two different fields.
I have a different example that does this for two different fields with different keys here https://github.com/Hube2/acf-filters-and-functions/blob/master/acf-reciprocal-relationship.php
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!