Answers for "add order meta woocommerce"

PHP
0

orderby total sales woocommerce

$args = array(
  'post_type' => 'shop_order',
  'posts_per_page' => 2000,
  'orderby'   => 'meta_value_num',
  'meta_key'  => 'total_sales',
  ),
);
Posted by: Guest on October-20-2020
0

orderby total sales woocommerce

$args = array(
  'post_type' => 'shop_order',
  'posts_per_page' => 2000,
  'orderby'   => 'meta_value_num',
  'meta_key'  => 'total_sales',
  ),
);
Posted by: Guest on October-20-2020

Code answers related to "add order meta woocommerce"

Browse Popular Code Answers by Language