Site icon Hip-Hop Website Design and Development

wp_insert_post() or comparable for customized submit kind

Must insert customized submit kind objects from code. Have not been ready so as to add utilizing the default technique

$id = wp_insert_post(array('post_title'=>'random', 'post_type'=>'custom_post'));

creates an everyday submit as an alternative.