Automatically empty trash

Automatically empty trash

If you want to define how often the trash should be automatically emptied, here’s the right way to do it:

define(‘EMPTY_TRASH_DAYS’, 1);

Replace 1 by X values