Updated wc_get_orders and WC_Order_Query (markdown)

Claudiu Lodromanean 2017-05-16 12:01:30 -07:00
parent 6f4f249c62
commit 7bf941f6cd
1 changed files with 8 additions and 1 deletions

@ -15,7 +15,14 @@ $orders = wc_get_orders( array(
```
$query = new WC_Order_Query( array(
) )
) );
$orders = $query->get_orders();
```
```
$query = new WC_Order_Query();
$query->set( '', '' );
$orders = $query->get_orders();
```
## WC_Order_Query Methods