MainWP Community

Change the Empty Trash Days

Change the empty trash days from the default of every 30 days to every 7 days on your child sites by using this code snippet:

Snippet Type

Save to wp-config.php

Snippet

define('EMPTY_TRASH_DAYS', 7);
3 Likes