How to delete all posts from a custom post type?

Question

I want to delete all posts from a custom post type “TV-Serie”. The number of all posts in this post type are 150,000.
Moreover, when I try to delete them all manually while selecting more than 500 posts at once this provides “timeout error”.

Any idea on how to delete them all?

0
Zulkifl Agha 2 years 2020-12-16T04:10:27-05:00 0 Answers 7 views 0

Leave an answer

Browse
Browse