Is it still possible to bulk delete WordPress post and it's meta data, etc using an SQL query, I tried using some queries from years ago but didn't work.

How can I do this?

  • you can do this with wp-cli
    – rudtek
    Dec 10, 2021 at 19:38
  • Thanks, is it possible to delete posts from a certain user with this method? Dec 14, 2021 at 13:13
  • wp post delete $(wp post list --author=your_author_ID --format=ids)
    – rudtek
    Dec 14, 2021 at 16:34


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.