Skip to content

Instantly share code, notes, and snippets.

@hellofromtonya
Created October 11, 2016 20:45
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