testmagweg $orders = wc_get_orders( array( ‘billing_first_name’ => ‘John’, ‘date_paid’ => ‘2016-01-01…2016-12-31’, ) );