Many times manually checking the deleted comments and posts is painful.
We need to keep our wordpress database clean so wordpress will perform faster.
wordpress API provided to clean the commant and post trash automatically.
We just need to put following code in your worpdress configuration file.
Open your wp-config.php file and put following code in that file. After following line you can put the code.
define(‘DB_COLLATE’, ”);
define('EMPTY_TRASH_DAYS', 30 ); //assign the number of days
Be careful about assigning the days because after 30 days your trash will be deleted from database. So you cannot restore post or comments again from wordpress trash panel.






Pretty section of content. I just stumbled aloft your blog and in accession capital to assert that I acquire in fact enjoyed account your blog posts. Any way I’ll be subscribing to your augment and even I achievement you access consistently rapidly.
Hello I ran beyond this abounding website while analytic abounding altered techniques abbreviation weight, I’ve got to acquaint you your internet website is actual advantageous and i accede the design. We wont acquire a actual baiter amount of activity in adjustment to appraise your absolute blogposts about Concerning book apparent it too seeing that autonomous in for the Rss or atom rss feeds. I shall be aback a few months. acclaim for any accomplished web page.
Hello I ran beyond this abounding website while analytic abounding altered techniques abbreviation weight, I’ve got to acquaint you your internet website is actual advantageous and i accede the design. We wont acquire a actual baiter amount of activity in adjustment to appraise your absolute blogposts about Concerning book apparent it too seeing that autonomous in for the Rss or atom rss feeds. I shall be aback a few months. acclaim for any accomplished web page.
Merely want to say your article is outstanding. The clarity in your post is easily magnificent and i can consider you are an professional on this subject. Well with your agreement allow me to grab your rss feed to keep up to date with future post. Thanks a million and please keep up the good work.
Lovely site! I am loving it!! Will come back again. I am taking your feeds also
Hello.This post was extremely remarkable, particularly since I was investigating for thoughts on this matter last Sunday.
Super-Duper website! I am loving it!! Will be back later to read some more. I am taking your feeds also
Awesome post Jeff! You guys are doing awesome work!
Well I definitely liked reading it. This article provided by you is very helpful for good planning.
I’m still learning from you, as I’m improving myself. I certainly love reading all that is written on your website.Keep the stories coming. I enjoyed it!
I REALLY liked your post and blog! It took me a minute bit to find your site…but I bookmarked it. Would you mind if I posted a link back to your post?
Thanks for posting. Good to see that not everyone is using RSS feeds to build their blogs
Intriguing post. I have been searching for some good resources for solar panels and discovered your blog. Planning to bookmark this one!