{"id":431,"date":"2016-11-11T18:11:40","date_gmt":"2016-11-11T21:11:40","guid":{"rendered":"https:\/\/wiki.samuelchopard.ch\/?p=431"},"modified":"2019-03-18T14:29:22","modified_gmt":"2019-03-18T13:29:22","slug":"automatically-empty-wordpress-binstrashs","status":"publish","type":"post","link":"https:\/\/samuelchopard.ch\/wiki\/library\/automatically-empty-wordpress-binstrashs\/","title":{"rendered":"Automatically empty WordPress bins\/trashes"},"content":{"rendered":"<p><!--more--><\/p>\n<p>In wp-config.php, add the following:<\/p>\n<pre class=\"EnlighterJSRAW\">define ('EMPTY_TRASH_DAYS', 7);\n<\/pre>\n<p>&#8220;7&#8221; refers to the number of days after which the rash should be deleted automatically.<\/p>\n<p>&nbsp;<\/p>\n<p>Source: <a target=\"_blank\" href=\"http:\/\/www.dwuser.com\/education\/content\/10-steps-to-a-faster-wordpress\/\" target=\"_blank\" rel=\"noopener noreferrer\">http:\/\/www.dwuser.com\/education\/content\/10-steps-to-a-faster-wordpress\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"In wp-config.php, add the following: define ('EMPTY_TRASH_DAYS', 7); \"7\" refers to the number of days after which the rash should [...]","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[42,98,163,277,303],"class_list":["post-431","post","type-post","status-publish","format-standard","hentry","category-wordpress","tag-bin","tag-empty","tag-load","tag-speed","tag-trash"],"_links":{"self":[{"href":"https:\/\/samuelchopard.ch\/wiki\/wp-json\/wp\/v2\/posts\/431","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/samuelchopard.ch\/wiki\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/samuelchopard.ch\/wiki\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/samuelchopard.ch\/wiki\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/samuelchopard.ch\/wiki\/wp-json\/wp\/v2\/comments?post=431"}],"version-history":[{"count":1,"href":"https:\/\/samuelchopard.ch\/wiki\/wp-json\/wp\/v2\/posts\/431\/revisions"}],"predecessor-version":[{"id":54882,"href":"https:\/\/samuelchopard.ch\/wiki\/wp-json\/wp\/v2\/posts\/431\/revisions\/54882"}],"wp:attachment":[{"href":"https:\/\/samuelchopard.ch\/wiki\/wp-json\/wp\/v2\/media?parent=431"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/samuelchopard.ch\/wiki\/wp-json\/wp\/v2\/categories?post=431"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/samuelchopard.ch\/wiki\/wp-json\/wp\/v2\/tags?post=431"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}