Created
August 4, 2019 23:53
-
-
Save ezrabrook/5438f6c4f6d076a0faaf46905478f334 to your computer and use it in GitHub Desktop.
Grab all published posts from WP
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 * from wp_posts | |
where post_status = 'publish' | |
and post_type = 'post' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment