Skip to content

Instantly share code, notes, and snippets.

Created Jan 27, 2021
What would you like to do?
for run in {1..2}; do wp post delete $(wp wc product list --user=1 --format=ids --status=draft --per_page=100) --force; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment