How to get all taxonomies of a post type?

Question

How can i get taxonomies of a post type?

If I have a post type event and i need to find out the list of taxonomies that are attached to that post type. How do I find them?

in progress 0
, , Sisir 11 years 2011-06-21T04:20:04-05:00 0 Answer 101 views 0

Answer ( 1 )

    0
    2021-08-06T05:12:02-05:00

    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 🙂

Leave an answer

Browse
Browse