title: WooCommerce - How to check if an order has physical products?
body: <p>I need to determine if the order is an order that needs shipping of physical goods.</p>
  <p>So I can check if the order has physical goods in it or if the order has only digital/virtual products.</p>
  <p>How can I do this in the best way?</p>
  <p>I get all the items of the order with:</p>
  <pre><code>$order = new WC_Order($order_id);
  
  $items = $order-&gt;get_items();
  </code></pre>