Support » Fixing WordPress » is there anyway to automatically clear the spam directory?

  • Hi, I have some spam comments, about 400, and I’d like to configure some way to they be deleted automatically.
    I know one way for posts, which is defining a constant in wp-config.php. For example, to clear each two days all posts in trash:

    define('EMPTY_TRASH_DAYS', 2 );

    But I don’t know for spam comments
    Regards,Daniel

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘is there anyway to automatically clear the spam directory?’ is closed to new replies.