Content of the page

Automatic trash basket cleaning in WordPress

Content of the article

Dont you ever thing that you can clean WordPress trash basket automatically? It is very simple, just do next please:

  • open your site wp-config.php file which is in the site root folder
  • place next piece of code somewhere on the top:
  • 10 is period of trash cleaning in days

That is all, quickly and easy