WordPress empty trash

08.Jul.2010

In order to make your WordPress trash empty every couple of days, open your wp-config.php file and paste the following snippet:

//empty WordPress trash once a week
define('EMPTY_TRASH_DAYS', 7);