Define The Number Of Days Before WordPress Automatically Deletes Trash

By default, WordPress automatically deletes trash every 30 days. Trash includes deleted posts, spam comments and other unwanted content which bloats your database and makes it less efficient.

You can easily change the number of days before your WordPress installation automatically deletes your trash.

To change this setting, follow these simple instructions:

Was This Tutorial Helpful?

Free

$0

Access only to all free tutorials per month.



Monthly

$75

Access to 10 premium tutorials per month.


Tutorial Request


Includes code guarantee and coding support.

Yearly

$500

Access to 15 premium tutorials per month.


Monthly Tutorial Request


Includes code guarantee and priority coding support.