{"id":32892,"date":"2010-05-28T23:02:56","date_gmt":"2010-05-29T03:02:56","guid":{"rendered":"http:\/\/wpmu.org\/?p=32892"},"modified":"2012-10-02T23:33:52","modified_gmt":"2012-10-03T03:33:52","slug":"daily-tip-set-wordpress-to-automatically-empty-the-trash","status":"publish","type":"post","link":"https:\/\/wpmudev.com\/blog\/daily-tip-set-wordpress-to-automatically-empty-the-trash\/","title":{"rendered":"Set WordPress to Automatically Empty the Trash"},"content":{"rendered":"<p>I found this simple, handy tip over at <a href=\"http:\/\/www.wprecipes.com\/wordpress-tip-automatically-empty-trash?utm_source=twitterfeed&amp;utm_medium=twitter&amp;utm_campaign=Feed:+Wprecipes+(WpRecipes.com:+Daily+recipes+to+cook+with+WordPress)\" rel=\"noopener\" target=\"_blank\">wprecipes.com<\/a>. You can set the automatic interval at which WordPress must empty the trash by adding this to your <i>wp-config.php<\/i> file:<\/p>\n<p><code>define('EMPTY_TRASH_DAYS', 10 );<\/code><\/p>\n<p>The number 10 refers to how many days between WordPress trash dumps. Set a &#8220;Garbage Day&#8221; interval that is convenient for you and start saving a little space.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I found this simple, handy tip over at wprecipes.com. You can set the automatic interval at which WordPress must empty the trash by adding this to your wp-config.php file: define(&#8216;EMPTY_TRASH_DAYS&#8217;, 10 ); The number 10 refers to how many days between WordPress trash dumps. Set a &#8220;Garbage Day&#8221; interval that is convenient for you and [&hellip;]<\/p>\n","protected":false},"author":4099,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"blog_reading_time":"","wds_primary_category":0,"wds_primary_tutorials_categories":0,"footnotes":""},"categories":[557],"tags":[],"tutorials_categories":[],"class_list":["post-32892","post","type-post","status-publish","format-standard","hentry","category-development"],"_links":{"self":[{"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/posts\/32892","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/users\/4099"}],"replies":[{"embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/comments?post=32892"}],"version-history":[{"count":1,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/posts\/32892\/revisions"}],"predecessor-version":[{"id":181711,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/posts\/32892\/revisions\/181711"}],"wp:attachment":[{"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/media?parent=32892"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/categories?post=32892"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/tags?post=32892"},{"taxonomy":"tutorials_categories","embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/tutorials_categories?post=32892"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}