Created
April 25, 2018 11:41
-
-
Save bmakowski/98590aefad8ce5c2776e8291bcae8aa0 to your computer and use it in GitHub Desktop.
Delete all WooCommerce Customers by WP CLI
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
wp user list --field=ID --role=customer | xargs wp user delete --yes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment