Created
December 20, 2016 19:17
-
-
Save Jany-M/7f3d039b1d4b8b1c8d4dcbfd5568c094 to your computer and use it in GitHub Desktop.
[WP][WooCommerce] SQL query for orders
This file contains hidden or 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
/* List of useful SQL queries */ | |
SELECT * FROM wp_posts where post_type = 'shop_order' and post_status = 'wc-pending'; | |
SELECT * FROM wp_posts where post_type = 'shop_order'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment