Skip to content

Instantly share code, notes, and snippets.

Created Oct 11, 2016
What would you like to do?
Filtering content with WHERE
SELECT ID, post_title
FROM wp_posts
WHERE post_type = 'portfolio' AND post_status = 'publish';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment