I've got a custom post type set up with custom taxonomies. When a user updates a post I need a way to check to see if there are any location
taxonomies applied and if so then remove them.
I've managed to sort the updating part out. So when post is saved it adds the correct Location
taxonomy. I'm using two custom taxonomies on the custom post type too. Locations
and Industry
. So I need to only check the Location
taxonomy and remove any that have been set for that specific post while leaving Industry
alone.
Any help would be greatly appreciated. I've checked the WP docs site but found I was getting in a muddle with terms
, taxonomy
etc.