Hello Friends,

Are you looking to Remove Trash feature in wordpress 2.9 ? In WordPress 2.9, you can see new feature which allows you to Trash a post instead of deleting it. In previous version of wordpress, it was Delete instead of Trash. Once you Trash the post, you have delete the post manually. This Trash feature will make your database larger.

trash Remove or Disable Trash feature in WordPress 2.9

Posts will be stored in Trash till 30 days by default. If you would like to reduce the time than add below line to wp-config.php file.

define('EMPTY_TRASH_DAYS', 10);

Once you write above line in wp-config.php, Trash post will be deleted after 10 days instead of 30 days.   

If you don't want the trash feature anymore, you can disable it permanently. If you want to do the same than add below line in wp-config.php file.

define('EMPTY_TRASH_DAYS', 0);

Once you will write above line in wp-config.php, it will show Delete Permanently instead of Trash.

Thats it.

If you find any problem in this than let me know by comment.

To know more about programming,JavaScript issues,jQuery,Expression Engine,MYSQL database and Open-source, enter your email address below. We will send you free tutorials.

Enter your email address:
 
Feel free to ask any question. Just leave your comment below and we will answer your comment with in 24 hours.
rax rss Remove or Disable Trash feature in WordPress 2.9  rax twitter Remove or Disable Trash feature in WordPress 2.9  rax facebook Remove or Disable Trash feature in WordPress 2.9  rax myspace Remove or Disable Trash feature in WordPress 2.9