MySQL Query to Get WordPress Post Categories

January 1, 2018 Kamran Rafi 0

Here is pretty straight forward mysql query to get WordPress post categories. I’ve excluded the default Uncategorized category.

“wt.term_id 1″ to exclude Uncategorized Category […]