Skip to content

Instantly share code, notes, and snippets.

@digisavvy
Created April 23, 2023 20:01
Show Gist options
  • Save digisavvy/a7a0c8a01d5df45241bcd939d72c276c to your computer and use it in GitHub Desktop.
Save digisavvy/a7a0c8a01d5df45241bcd939d72c276c to your computer and use it in GitHub Desktop.
SELECT *
FROM wp_postmeta
WHERE post_id = 11432
AND post_id IN (SELECT ID FROM wp_posts WHERE post_type = 'tribe_events');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment