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?
1 Answer
For custom taxonomies you should use wp_insert_term()