In WordPress 2.9, there was a brand new “Trash” function added to the core. This function works similar to the recycling bin, so as an alternative of deleting the publish completely, you’d ship it to the trash. This helped these customers who accidently click on on Delete button, and it may be any of us. The dangerous half about this trash function is that you need to empty the trash frequently. By default the trash empties itself each 30 days. However on this article, we’ll present you how one can routinely empty your trash each day, weekly, or nonetheless many days you need.
All you need to do is open your wp-config.php file. This can is often situated in the identical listing the place wp-includes is situated.
Change the 1 to 7 or nonetheless many days you need. When you don’t just like the function in any respect, then you may all the time set the quantity to 0, and do away with it totally.
You May Also Like : How to Add the Google +1 Button to your WordPress
If you liked this article, make sure to hit the bell for getting our latest updates and share this article with your friends in every social media platforms.