how could i create a post from some info ?
-
i would like to save some data to a new post without creating it in the admin page, but dinamicly from a variable let’s say $post_array(‘post_title’=>$ptitle, ‘post_content’=>$pcontent, etc…)
How can i do this with the wp_insert_post() function or do i need to use a hook.
Any suggestion, maybe some code?
thanks.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘how could i create a post from some info ?’ is closed to new replies.