Bulk Delete Orders via CLI
-
Is it possible to bulk delete orders via CLI using the
wp wc shop_order deletecommand and adding a status flag (ex. status = canceled)? I tried using the--helpflag, but that didn’t give me anything of substance.If this isn’t possible, can we please implement it? The best use case is 50k+ orders in the DB (my exact scenario) spanning over 3+ years and wanting to delete over 10k of them in one try rather than doing a page at a time and/or installing a plugin (mostly paid options) to do it.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Bulk Delete Orders via CLI’ is closed to new replies.