Wordpress - How to get all taxonomies of a post type?
I think I've got it! After looking at couple of functions in the taxonomy.php file in WordPress I have found the function get_object_taxonomies();
which did the trick :)
get_categories will do the job.
get_categories('taxonomy=taxonomy_name&type=custom_post_type');