I have this table that is generated in a Custom Post Type (CPT)
Is there an option that I can modify the query? For example, I have this post_type = 'my-type' in wp_posts table. I want to do a JOIN to have specific values with the table wp_postmeta - how can I do that? Where do I edit the query?
I want to list only posts that have an specific value in its meta, for that I need to do a join, all of this is to have control in what an specific user can see