Title: Automatically Empty Trash Orders?
Last modified: March 21, 2023

---

# Automatically Empty Trash Orders?

 *  Resolved [linux4me2](https://wordpress.org/support/users/linux4me2/)
 * (@linux4me2)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/automatically-empty-trash-orders/)
 * From what I’ve been able to discover, WordPress empties the Trash automatically
   after 30 days, but I have some orders in WooCommerce Trash that have been in 
   there for over 30 days and they have not been permanently deleted.
 * Is there some way to get WooCommerce to automatically empty the Trash after 30
   days as WordPress does?
 * I’ve got a green checkmark by cron in WooCommerce status, and as far as I can
   tell, all my cron tasks are properly running.

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [xue28 (woo-hc)](https://wordpress.org/support/users/xue28/)
 * (@xue28)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/automatically-empty-trash-orders/#post-16582883)
 * Hi [@linux4me2](https://wordpress.org/support/users/linux4me2/)
 * Thanks for reaching out!
 * > Is there some way to get WooCommerce to automatically empty the Trash after
   > 30 days as WordPress does?
 * By default, WooCommerce does not have a built-in feature that automatically empties
   the Trash after 30 days as WordPress does. However, there are several plugins
   available that can help you achieve this functionality:
    - [WP-Optimize](https://wordpress.org/plugins/wp-optimize/) – is a revolutionary,
      all-in-one WordPress performance plugin that caches your site, cleans your
      database, compresses your images
    - [WP-Sweep](https://wordpress.org/plugins/wp-sweep/)
 * Furthermore, I did some research and found this article could be a good starting
   point: [How to Limit or Disable Automatic Empty Trash in WordPress](https://www.wpbeginner.com/beginners-guide/how-to-limit-or-disable-automatic-empty-trash-in-wordpress/)
 * Hope this helps!
 *  Thread Starter [linux4me2](https://wordpress.org/support/users/linux4me2/)
 * (@linux4me2)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/automatically-empty-trash-orders/#post-16584938)
 * Thanks for the quick response [@xue28](https://wordpress.org/support/users/xue28/).
 * That is helpful information. I don’t delete orders often enough to make it worth
   an extra plugin. For now, I will be fine with the Empty Trash button.
 *  [Amir A. (woo-hc)](https://wordpress.org/support/users/amiralifarooq/)
 * (@amiralifarooq)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/automatically-empty-trash-orders/#post-16584991)
 * Hi [@linux4me2](https://wordpress.org/support/users/linux4me2/)
 * Okay, cool, if you have any new questions, please create a new ticket. 
   Cheers!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Automatically Empty Trash Orders?’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [Amir A. (woo-hc)](https://wordpress.org/support/users/amiralifarooq/)
 * Last activity: [3 years, 2 months ago](https://wordpress.org/support/topic/automatically-empty-trash-orders/#post-16584991)
 * Status: resolved