0

I need a SQL command to delete post_content records for specific category's posts

3
  • post_content is a column on the wp_posts table, not a record in itself. Do you mean you want to delete all posts with a specific category? – Rup Feb 15 at 9:17
  • Can you show us how far you've got on your own, your best attempt so far? That might make it clearer what you're trying to do. – Rup Feb 15 at 9:19
  • @Rup I just want to delete content of posts not the main post. I mean the posts won't have contents. – akhbarejadid Feb 15 at 11:48

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.