https://do.that.ee/wp-cli-delete-orders-older-than/
Anonymous
Prototype before polishing. Get it working before you optimize it.