title: Woocommerce order by seller name or author name
body: <p>I have the following code and I need to display order data based on seller id or seller name: </p>
  
  <pre><code>$filters = array(
      'post_status' =&gt; 'published',
      'post_type' =&gt; 'shop_order',
      'posts_per_page' =&gt; 200,
      'paged' =&gt; 1,
      'orderby' =&gt; 'modified',
      'order' =&gt; 'ASC',
      'author' =&gt; $seller_id,
      'post_parent' =&gt; $order_id
  );
  $loop = new WP_Query($filters);
  while ($loop-&gt;have_posts()) {
      $loop-&gt;the_post();
      $order = new WC_Order($loop-&gt;post-&gt;ID);
      foreach ($order-&gt;get_items() as $key =&gt; $item) 
      {
          $red = $item['product_id'];
          $_sku     = get_post_meta( $red, '_sku', true );
      }
  }
  </code></pre>
  
  <p>The above loop is not showing any sku or price on the invoice section.</p>
  
  <p>How to display order details on author ID (or seller name)?</p>
  
  <p>Thanks</p>