Attaching taxonomy data to post with wp_insert_post

Posted by Prem Tiwari | Updated on

Use wp_set_object_terms after you have the post id for each taxonomy:


If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers