What are WordPress drafts and how to clean them?

WordPress allows you to save a post or a page without having to publish it immediately. This way you can work on it as much as you want and publish it only when it is ready. This is called a wordpress draft. Over time, you could have multiple drafts that you will never publish and hence you can clean them.
To clean these drafts, you can either use our plugin Advanced Database Cleaner or execute the following sql code (which is used by the plugin) directly via your phpMyAdmin:

DELETE FROM posts WHERE post_status = ‘draft’

Leave a Reply

Your email address will not be published. Required fields are marked *