From 7fea0f6103becee4637427f937c36c9286634c99 Mon Sep 17 00:00:00 2001 From: Claudio Sanches Date: Tue, 25 Aug 2020 11:16:39 -0300 Subject: [PATCH] Updated wc_get_products and WC_Product_Query (markdown) --- wc_get_products-and-WC_Product_Query.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wc_get_products-and-WC_Product_Query.md b/wc_get_products-and-WC_Product_Query.md index a978dad..a49128a 100644 --- a/wc_get_products-and-WC_Product_Query.md +++ b/wc_get_products-and-WC_Product_Query.md @@ -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.