1. Log in to the WordPress dashboard.
2. Then, from the Dashboard menu, you need to go to Posts and click on All Posts.
3. After that, checkmark the top checkbox to select all posts.
4. As a last step, click on Bulk Actions option and select Move to Trash from the drop-down menu. Then click on Apply.