Empty Trash Automatically

If you want the posts & pages trash to empty automatically, just add this to the wp-config.php-file. The number displayed in the function is the number of days between the emptying.

Code Snippet:

<?php define('EMPTY_TRASH_DAYS', 5 ); ?>

Posted in Admin area