0

I've seen Justin Tadlock's post on creating taxonomies for users, so I know that it's possible to do that.

But how do you get a list of all of the taxonomies associated with users? For posts and CPTs you can use get_object_taxonomies( $post_type );. What's the equivalent for users?

1 Answer 1

1

Strictly regarding your question: get_object_taxonomies( 'user' ); since user is the $object_type that it is used when the author registers the taxonomy.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.