Created
April 16, 2015 04:32
-
-
Save BronsonQuick/3a425885c6100dc89de2 to your computer and use it in GitHub Desktop.
WP-CLI command to delete all WooCommerce users
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 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