I have setup a custom post type with a custom taxonomy as categories.
I need to use get_the_terms
or wp_get_post_terms
to return the first category of a post in the custom post type.
But I can't quite figure out how to use it in comparison to get_the_category
.