Home › Forums › General Issues › Bidirectional Relationships not updating both sides › Reply To: Bidirectional Relationships not updating both sides
Take a look at the data in the database. Look at the value of a relationship saved by ACF and look at the value the relationship field saved by your code. Make sure they look the same. What you will see is a serialized array value. Make sure the value type for the post IDs is the same. “s” means the value is a string and the post IDs will have enclosed in “”, while “i” means the value is an integer and the post IDs will not be enclosed in “”.
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.