Delete spam comments after three (3) days

Here is how to change Akismet interval to three days instead of 15 days for deleting spam comments using the akismet_delete_comment_interval filter. Normally in WordPress, Akismet deletes spam comments after 15 days, which may be fine with you or not. If you’d like to change the interval in which Akismet deletes spam comments, you can add the following code to your functions.php file: This changes Akismet’s interval … Continue reading Delete spam comments after three (3) days