How can I order the “Woocommerce Products Widget” by the sales date? [closed]
And here is the solution! After some search I found the meta-key case ‘sales_date’ : $query_args[‘meta_key’] = ‘_sale_price_dates_from’; $query_args[‘orderby’] = ‘meta_value_num’; break;