title: Wordpress: insert post-format in post using wp_insert_post()
body: <p>as I can insert my php post using the format of a post ( example : post -format- quote ) using wp_insert_post (). </p>
  
  <pre><code>$my_post = array(
      'post_type'     =&gt; 'post', // "post" para una entrada, "page" para páginas, "libro" para el custom post type libro...
      'post_status'   =&gt; 'publish', // "draft" para borrador, "future" para programarlo...
      'post_title'    =&gt; $_POST['BlogEntranceTitle'], 
      'post_content'  =&gt; $_POST['BlogEntranceCode'], 
      'post_author'   =&gt; $user_ID, //  
      'post_category' =&gt; $_POST['BlogEntranceCats'],  
      'tags_input'    =&gt; $_POST['BlogEntranceTags'],
      'post_excerpt'  =&gt; $_POST['BlogEntranceExcerpt']
  );
  wp_insert_post( $my_post );
  </code></pre>
  
  <p>achievement insert these options but I get no add format post</p>