How to Force WordPress to Empty the Trash

How to Force WordPress to Empty the Trash

When working with WordPress there may be times when you want to force it to empty the trash. This is handy if you’ve deleted a post or page in the past but want to use the same slug for a new version of that page. That slug won’t become available until you empty the trash. Previously we posted a tutorial about how to set your site to automatically empty the trash every few days. If you want to force it to empty immediately, go to: Dashboard >> Posts and you’ll see “Trash” at the top:

Then, select everything in the trash and click delete permanently.