July 28, 2012

How to automatically empty trash on a daily basis

On your WordPress blog, when an item like a post or comment is deleted, it goes in Trash instead of being permanently removed. Here is a super simple code snippet to tell WordPress to automatically empty the trash everydays…

Related Articles:

[related_posts]

Related Post

WordPress hack: Remove autolinks in comments By default, WordPress automatically turns urls left in the comment form into links. This can be useful, but as there's lots of spammers on the interne...
How To Add an Update Message to an Outdated WordPr... If you’ve been blogging with WordPress for quite awhile, chances are that you’ve experienced some of your posts becoming outdated. Perhaps you’v...
Dealing with shortcode madness At some point in the past year, a disturbing movement has been growing in the WordPress theme development community. If you’ve ever looked at a few ...
How to Add a Custom Column in Posts and Custom Pos... In this tutorial we will see how to add a new column to the WordPress Posts management screen and in this column we will show the Featured Image of ea...

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

Pin It on Pinterest

Share This