Updated wc_get_orders and WC_Order_Query (markdown)
parent
6f4f249c62
commit
7bf941f6cd
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue