Efficiently Deleting WordPress Posts Using SQL

For the past few weeks I’ve been working on a WordPress plugin for importing a CSV into¬†a few custom post types and taxonomies. I realized that sometimes going “The WordPress Way” isn’t actually the best way to do things. Occasionally, the quickest way to get stuff done is to dive into some SQL.