Title: get taxonomy objects
Last modified: August 20, 2016

---

# get taxonomy objects

 *  [leggo-my-eggo](https://wordpress.org/support/users/leggo-my-eggo/)
 * (@leggo-my-eggo)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/get-taxonomy-objects/)
 * I know I can `get_object_taxonomies('post')`, but is there a way to do the reverse:`
   get_taxonomy_objects('category')`?
 * What I need is a list of all post_types (including posts, pages and custom post
   types) registered to a certain taxonomy.

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [leggo-my-eggo](https://wordpress.org/support/users/leggo-my-eggo/)
 * (@leggo-my-eggo)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/get-taxonomy-objects/#post-2628648)
 * I just found that I can do:
 *     ```
       $tax_objects = get_taxonomies('','objects');
       $tax_object_types = $tax_objects['category']->object_type;
       ```
   
 * Is that the cleanest way?
 *  [Grawl](https://wordpress.org/support/users/grawl/)
 * (@grawl)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/get-taxonomy-objects/#post-2628778)
 * It’s clean. I use the same constructions for taxonomy description:
 *     ```
       $taxonomy = 'team';
       $taxonomy_object = get_taxonomies('','objects');
       print $taxonomy_object[$taxonomy]->description
       ```
   
 * and post type description:
 *     ```
       $postType = 'coworker';
       $postType_object = get_post_type_object($postType);
       print $postType_object->description;
       ```
   

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘get taxonomy objects’ is closed to new replies.

## Tags

 * [taxonomies](https://wordpress.org/support/topic-tag/taxonomies/)

 * In: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
 * 2 replies
 * 2 participants
 * Last reply from: [Grawl](https://wordpress.org/support/users/grawl/)
 * Last activity: [13 years, 11 months ago](https://wordpress.org/support/topic/get-taxonomy-objects/#post-2628778)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
