title: Delete a product by ID using PHP in WooCommerce
body: <p>Since there is a command:</p>
  
  <pre><code>wp_insert_post()
  </code></pre>
  
  <p>shouldn't there be a command:</p>
  
  <pre><code>wp_delete_post()
  </code></pre>
  
  <p>Seems like it does not exist, what is an alternative that you use when you have the ID of a product in the database and you want to delete it? </p>