Home › Forums › General Issues › Link product to post (and vice versa) › Reply To: Link product to post (and vice versa)
There are 2 parts of the function at. The first part of the function adds values and the second part deletes them. To be honest, I’m not 100% sure how the develops example does the work, I’ve never looked at it closely. My plugin does things quite a bit differently.
I have another example here that does it in yet another way 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!
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.