How to add Taxonomy to a post
-
I’m using
wp_insert_post
to add a new post to my post type, but i don’t know how to append my defined taxonomies to that post.
i suspectwp_set_object_terms
, if this is the function to add taxonomy please explain it more.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘How to add Taxonomy to a post’ is closed to new replies.