Home › Forums › General Issues › Select post in relationship only once › Reply To: Select post in relationship only once
You would need to create an acf/fields/relationship/query filter.
In this filter you would need to do gather al list of all of of the players already selected for other teams. To do this you would need to do a query to get all of the teams and then get the players field from each post and make a list of post IDs in an array. They you would use these results in the “post__not_in” argument for the query.
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.