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?

  • What is the use case?
    – AlxVallejo
    Jul 21, 2012 at 16:33

1 Answer 1


For custom taxonomies you should use wp_insert_term()


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.