Skip to content

Instantly share code, notes, and snippets.

@bmakowski
Created April 25, 2018 11:41
Show Gist options
  • Save bmakowski/98590aefad8ce5c2776e8291bcae8aa0 to your computer and use it in GitHub Desktop.
Save bmakowski/98590aefad8ce5c2776e8291bcae8aa0 to your computer and use it in GitHub Desktop.
Delete all WooCommerce Customers by WP CLI
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