Top

Daily Tip: Set WordPress to Automatically Empty the Trash

May 28, 2010

I found this simple, handy tip over at wprecipes.com. You can set the automatic interval at which WordPress must empty the trash by adding this to your wp-config.php file:

define('EMPTY_TRASH_DAYS', 10 );

The number 10 refers to how many days between WordPress trash dumps. Set a “Garbage Day” interval that is convenient for you and start saving a little space.

Tweet This Post

Comments

Got something to say?

Bottom
Article Archive  |  This site is a historical archive of pressography.com, a WordPress plugin and theme blog that published between 2006 and 2012. It is preserved for reference and is not operated by, affiliated with, or endorsed by its original authors. Nothing here is for sale and no form on this site is active. If you are the original owner and would like this domain returned, please get in touch.