Skip to content

Instantly share code, notes, and snippets.

@hellofromtonya
Created Oct 11, 2016
Embed
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