How to get the singular name of a custom taxonomy?
EDIT Since I missunderstood your question at first, here’s the update that should do what you want. $taxonomies = get_object_taxonomies( ‘my_post_type’, ‘object’ ); foreach($taxonomies as $tax){ echo $tax->labels->singular_name; } Basically, you need to specify to the get_object_taxonomies function that you want an object to be returned. In your function, I’m not sure where the $args … Read more