How to Automatically empty Trash Wordpress

>> Sunday, March 20, 2011

This system is better handled for accidentals deleted some our content.
Example we deleted our post, but for some reason we need to bring it back.

This also happen on comment and page, after we choose sent the content
into trash, this content will not visible anymore. The Next question is,
if we deleted to many content, the trash will be a lot of data. How to
Automatically unneeded data? Follow this step by WP Recipes.

<h1>How to Automatically empty Trash Wordpress</h1>
Open your wp-config.php and added this line of code

define('EMPTY_TRASH_DAYS', 10 );

And done, your Trash will be automatically clean up. Please note, on this
example there are 10 number. This number is Days, that I mean the data
more than 10 days will be deleted.

Post a Comment

  © Ikicarane 2009 powered by blogger, cafeiklan, rumahterjemah, ourblogtemplates

Back to TOP