Created
March 19, 2015 19:01
-
-
Save growdev/b68e35b5c6e0856bdbf1 to your computer and use it in GitHub Desktop.
Delete all WooCommerce Products with wp-cli
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
wp post list --field=ID --post_type=product | xargs wp post delete --force |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
thanks, I already change to prestashop, anyway thanks for your reply!