how do I programically create a category in WordPress if it doesn't exist already?
Posted
by Brad
on Stack Overflow
See other posts from Stack Overflow
or by Brad
Published on 2010-05-31T07:13:32Z
Indexed on
2010/05/31
10:22 UTC
Read the original article
Hit count: 434
Using a built in wordpress function (if available) how do I create a new category in wordpress if it doesn't exist.
I'm using wp_insert_post to insert posts, but I want to be able to do custom categories.
Thanks
-Brad
© Stack Overflow or respective owner