TIP: How to delete all your orders and save you time

1 – Make all orders as “trash”:

With this sql request: update wp_posts set post_status = 'trash' where post_type = 'shop_order';

You can execute it on phpMyAdmin or from the DB plugin if you have one that lets you to execute requests, like “WP-DBManager”.

2 – Clean the trash

Comments

So empty here ... leave a comment!

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Sidebar