Hi,
I’m query for the woocommerce product category and want to order by category custom field ‘city_order’.
It is possible in args on query terms?
$cat_args = array(
‘hide_empty’ => true,
‘parent’ => 0,
‘exclude’ => array( 33, 62 )
);
$product_categories = get_terms( ‘product_cat’, $cat_args );