Last active
September 9, 2022 14:07
-
-
Save terrytsang/6c9a01e454f4fb536c18dda549ad3635 to your computer and use it in GitHub Desktop.
To configure how regularly the WordPress trash is emptied (within x days)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//add below code into wp-config.php | |
define('EMPTY_TRASH_DAYS', 1 ); //Integer is the amount of days |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment