• Resolved adrianasjw

    (@adrianasjw)


    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);

Viewing 1 replies (of 1 total)
  • Plugin Author David Anderson

    (@davidanderson)

    Hi,

    This is the “Two Factor Authentication” plugin forum…. nobody comes by here except the plugin authors to answer users’ questions about that plugin. You’ll want to post in a more suitable forum.

    For some reason about half the postings in this plugin’s forum have nothing to do with it. I have not yet discovered why that is. How did you find this forum? (There have been a few people lately who said it was a “Google search”, but not mentioned what they searched for).

    David

Viewing 1 replies (of 1 total)
  • The topic ‘define(‘EMPTY_TRASH_DAYS’, 1); is not working’ is closed to new replies.