How to get WooCommerce order details
<p>In WooCommerce from the following line code:</p>
<pre><code>$order = new WC_Order( $order_id );
</code></pre>
<p>How can I get WooCommerce order details from the order ID?</p>