Updated wc_get_products and WC_Product_Query (markdown)
parent
9a282d7f4e
commit
7fea0f6103
|
@ -64,7 +64,7 @@ $products = $query->get_products();
|
|||
|
||||
**status**
|
||||
|
||||
Accepts a string or array of strings: one or more of of 'draft', 'pending', 'private', 'publish', or a custom status.
|
||||
Accepts a string or array of strings: one or more of 'draft', 'pending', 'private', 'publish', or a custom status. By default include all WP default post statuses: `array( 'draft', 'pending', 'private', 'publish' )`.
|
||||
|
||||
```
|
||||
// Get draft products.
|
||||
|
|
Loading…
Reference in New Issue