Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Get total post type from wordpress with Query
select `post_type`, count(*) from `wp_posts` group by `post_type`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.