title: how i can retrieve all woocommerce orders in new custom plugin
body: <p>i'm creating a new custom plugin and need to retrieve all woocommerce orders</p>
  <p>i tried to use :  <code>wc_get_orders()</code> function to retrieve all woocommerce orders but i got</p>
  <pre><code>Uncaught Error: Call to undefined function wc_get_orders()
  </code></pre>
  <p>and did this :</p>
  <pre><code>require_once '../woocommerce/includes/wc-order-functions.php'; 
  </code></pre>
  <p>but i got :</p>
  <pre><code>require_once(../woocommerce/includes/wc-order-functions.php): failed to open stream: 
  </code></pre>
  <p><strong>how i can retrieve all woocommerce orders</strong></p>