Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
SELECT post_type, count( post_type )
FROM wp_posts
GROUP BY post_type
ORDER BY count( post_type ) DESC
LIMIT 50;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment