WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
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.