Post

If you want to know what objects (e.g. post types) are registered against a specific taxonomy, you can use the get_object_taxonomies() function to do this. There are lots of #WordPress functions that we have probably never come across - this is another. #learnWPFunctions https://bit.ly/4krFVQc

bit.lyget_object_taxonomies() – Function | Developer.WordPress.orgReturns the names or objects of the taxonomies which are registered for the requested object or object type, such as a post object or post type name.

0 reposts2 likes