I have two CPTs, one called ‘Resort’, and the other called ‘Stay’. I would like to create a field relationship to select a ‘Stay’ in the ‘Resort’ post.
But I wish that once a ‘Stay’ is selected in a ‘Resort’, it can no longer be selected in another ‘Resort, and conversely: each’ Resort ‘has only one’ Stay ‘ ‘and each’ Stay ‘can only be linked to one’ Resort ‘. Is it possibe?
I tried to follow this tutorial: https://www.advancedcustomfields.com/resources/post-object/; but in your example it’s about relationship between posts that have the same CPT, and I need to do that between 2 different CPTs. Can you help me ?