Created
November 6, 2016 06:04
-
-
Save mostafasoufi/46cf23c777a1b24ec68537c6a7ad4c6d to your computer and use it in GitHub Desktop.
Get total post type from wordpress with Query
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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