Specify days to empty trash
Trash is a new functionality in WordPress 2.9.
When an item (post, comment, etc) is deleted, it gets sent to Trash instead of being permanently removed.
Here is a tip to tell your WordPress blog to automatically empty trash every X days.
Open your wp-config.php file and paste the following code:
define(‘EMPTY_TRASH_DAYS’, 10 );
Change 10 to the required amount of days.
WordPress support
Wordpress Themes & plugins
WordPress Books
- 6 Building Blocks For Crafting A Perfect Press Release
- Learning PHP, MySQL, and JavaScript: A Step-by-Step Guide to Creating Dynamic Websites
- Installez WordPress comme un pro (et commencez à bloguer en 20 minutes) (French Edition)
- WordPress In Depth
- CMS Security Handbook: The Comprehensive Guide for WordPress, Joomla, Drupal, and Plone
- Blog Management, Post to 20 blogs & 10 Social media sites at once For Free
- The WordPress Illustrated Mechanic’s Guide
- Getting Started in Blogging
- Social Media Marketing All-in-One For Dummies (For Dummies (Lifestyles Paperback))
- The Complete WORDPRESS PLUGINS Guide Reviews
- WordPress for Web Designers
- WordPress Auto Content Generator
- Getting Started in Blogging
- Logo Design Love: A Guide to Creating Iconic Brand Identities (Voices That Matter)
- Blogging for Pleasure and Money – Discover Easy Ways to a Successful Blog and Attracting Traffic






