define(‘EMPTY_TRASH_DAYS’, 1); is not working
-
I would like to prolong the automatic deletion of trash, instead of the 30 days by default. Therefore, I try to add a code define(‘EMPTY_TRASH_DAYS’, 1); to try if it works. But it failed. I wait till the next day. The trash is still there. Can anyone help me? Thanks so much!
This is my code:
// ** MySQL settings – You can get this info from your web host ** //
/** The name of the database for WordPress */
define( ‘DB_NAME’, ‘xxx’ );/** MySQL database username */
define( ‘DB_USER’, ‘xxx’ );/** MySQL database password */
define( ‘DB_PASSWORD’, ‘xxx’ );/** MySQL hostname */
define( ‘DB_HOST’, ‘localhost’ );/** Database Charset to use in creating database tables. */
define( ‘DB_CHARSET’, ‘utf8mb4’ );/** The Database Collate type. Don’t change this if in doubt. */
define( ‘DB_COLLATE’, ” );/** Change trash days */
define(‘EMPTY_TRASH_DAYS’, 1);
- The topic ‘define(‘EMPTY_TRASH_DAYS’, 1); is not working’ is closed to new replies.