Skip to main content
3 events
when toggle format what by license comment
Jan 29, 2020 at 11:05 comment added Greg Winiarski Yes, the get_object_taxonomies() will return taxonomies assigned to a custom post type, the result you can use in the get_terms() call which will return an array of WP_Term objects, although i am looking your original post again and it seems this might not be what you are looking for after all :/
Jan 29, 2020 at 10:41 comment added Bonttimo I get an error: WP_Error Object Invalid taxonomy. Wouldn't this just return the taxonomies used in a custom post type? not the actual categories eq(name, slug, id...)?
Jan 29, 2020 at 10:35 history answered Greg Winiarski CC BY-SA 4.0