From bfa2b017d17a6d2ddbb2f044268d1feaddd30908 Mon Sep 17 00:00:00 2001 From: Gerhard Potgieter Date: Wed, 2 May 2018 07:47:55 +0200 Subject: [PATCH] Include pending products in the export --- includes/export/class-wc-product-csv-exporter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/export/class-wc-product-csv-exporter.php b/includes/export/class-wc-product-csv-exporter.php index ea1357cec34..c9f3f0ed25d 100644 --- a/includes/export/class-wc-product-csv-exporter.php +++ b/includes/export/class-wc-product-csv-exporter.php @@ -132,7 +132,7 @@ class WC_Product_CSV_Exporter extends WC_CSV_Batch_Exporter { public function prepare_data_to_export() { $columns = $this->get_column_names(); $args = apply_filters( "woocommerce_product_export_{$this->export_type}_query_args", array( - 'status' => array( 'private', 'publish', 'draft', 'future' ), + 'status' => array( 'private', 'publish', 'draft', 'future', 'pending' ), 'type' => $this->product_types_to_export, 'limit' => $this->get_limit(), 'page' => $this->get_page(),