Data example:
'_order_total' => array(
'type' => 'meta',
'function' => 'SUM',
'name' => 'total_sales'
)
public get_order_report_data ( array $args = [] ) : mixed | ||
$args | array | |
return | mixed | depending on query_type |