To remove a Category you need to perform the following:
Use the following code snippet:
The same approach can be used with all flat and hierarchical taxonomies not only for tags and categories.
Use the following code snippet as an example where Cities is a custom Flat Taxonomy that you created:
Back To Top