Skip to content

Instantly share code, notes, and snippets.

@fitodac
Created October 23, 2018 03:36
Show Gist options
  • Save fitodac/af065b8c074d40661a5382142a4f092e to your computer and use it in GitHub Desktop.
Save fitodac/af065b8c074d40661a5382142a4f092e to your computer and use it in GitHub Desktop.
WordPress: Empty trash automatically
/**
Empty Trash Automatically
set the number of days and reduce the size of your database.
*/
define('EMPTY_TRASH_DAYS', 5 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment