Alterar ou definir o tipo de postagem WordPress
set_post_type($post_id, $post_type);
Ivan Cuaco
set_post_type($post_id, $post_type);