Facebook Twitter Gplus YouTube RSS
Home Guides - How to Wordpress Automatically empty wordpress trash
formats

Automatically empty wordpress trash

Published on August 2, 2011 by in Wordpress

 

Have you ever wanted to automatically empty you wordpress trash folder?
Now iam gonna show you how to do this.. and it is quite easy.

Go into your ftp client and login to you hosting account where your wordpress is located.
Now find wp-config.php “witch should be located in root of your wordpress install”
And now simply copy/paste this code bellow into this file.

define(‘EMPTY_TRASH_DAYS’, 10 );

NOTE: 10 = amount of days so change this to your own liking.

And close and save the file.  and its done .

 
Tags: ,
 Share on Facebook Share on Twitter Share on Reddit Share on LinkedIn
No Comments  comments 

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=""> <strike> <strong>

© 2012 Finns-projects.com. All rights reserved.
credit