Automatically empty trash

Place this code within the wp-config.php file in the root directory of your wordpress install and it will Automatically empty trash every 3 days.

define('EMPTY_TRASH_DAYS', 3 );

Comments  Leave a Reply

  1. What’s considered trash? Please.

Add a Comment

We're glad you have chosen to leave a comment. Please keep in mind that all comments are moderated according to our privacy policy, and all links are nofollow. Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.

WordPress Launch Checklist

The Ultimate WordPress Launch Checklist

We've compiled all the essential checklist items for your next WordPress website launch into one handy ebook.
Yes, Send Me the Free eBook!