cambiar o establecer el tipo de publicación de WordPress
set_post_type($post_id, $post_type);
Ivan Cuaco
set_post_type($post_id, $post_type);