Sign up ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

wp_create_category() adds new categories to the 'content' taxonomy associated with the post type...

Simple question really neither wp_create_category() or wp_insert_category() allows configuration for taxonomy type... so how can I can do it?

share|improve this question
What is the use case? –  AlxVallejo Jul 21 '12 at 16:33

1 Answer 1

up vote 4 down vote accepted

For custom taxonomies you should use wp_insert_term()

share|improve this answer
thanks for the response –  AndyW Jul 22 '12 at 6:42

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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