Answers for "orderby options wc_products 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 "orderby options wc_products woocommerce"

Browse Popular Code Answers by Language