title: Create programmatically a "completed" order without sending email to customer in WooCommerce
body: <p>I use this code for new order and set complete status.</p>
  <p>After it, woocommerce send automatic email to buyer.</p>
  <p>But I want dont send this email.</p>
  <p>How I can?</p>
  <pre><code>$order = wc_create_order();
  $order-&gt;set_customer_id($userId);
  
  foreach($_POST['basket'] as $prod){
      $order-&gt;add_product(get_product($prod['id']), $prod['count']);
  }
  
  $order-&gt;set_address($address, 'billing');
  $order-&gt;calculate_totals();
  $order-&gt;update_status(&quot;completed&quot;, 'TEST', TRUE);
  </code></pre>
  <p>Note: I dont want disable send email from wp-admin</p>