📅  最后修改于: 2022-03-11 14:54:47.027000             🧑  作者: Mango
$args = array(
'post_type' => 'shop_order',
'posts_per_page' => 2000,
'orderby' => 'meta_value_num',
'meta_key' => 'total_sales',
),
);