Delete all post in a category wordpress

Delete duplicate title using query mysql wordpress
December 1, 2012
ODesk_logo
ODESK GMAIL Product Test Answer
January 4, 2013

Delete all post in a category wordpress

Delete all post in a category wordpress

delete a,b,c,d
FROM wp_posts a
LEFT JOIN wp_term_relationships b ON ( a.ID = b.object_id )
LEFT JOIN wp_postmeta c ON ( a.ID = c.post_id )
LEFT JOIN wp_term_taxonomy d ON ( d.term_taxonomy_id = b.term_taxonomy_id )
LEFT JOIN wp_terms e ON ( e.term_id = d.term_id )
WHERE e.term_id =36

Leave a Reply

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

Time limit is exhausted. Please reload CAPTCHA.