Home › Forums › General Issues › Query cpt then echo if relationship exists › Reply To: Query cpt then echo if relationship exists
I asked you what returns because we need to know what we have (post object or post ID) to do the relations between the addon and the current post.
So the add_ons_suites is a relationship which contains a single value of the post ID or multiple values of posts IDs?
And another question, the add_ons_suites is a field from the cpt addon or the current post?
This questions will help me to give you a better resolution
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!
Plugin boilerplates can do some of the heavy lifting during initial development. We look at four options to speed up your plugin creation. https://t.co/ZtMsdBxAHw— Advanced Custom Fields (@wp_acf) June 5, 2023
© 2023 Advanced Custom Fields.