From 3f87b3e0092fc3d70cacff68d84f24525a365e5a Mon Sep 17 00:00:00 2001 From: Gerhard Potgieter Date: Mon, 30 Apr 2018 07:36:00 +0200 Subject: [PATCH] Include scheduled 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 9c198296c27..ea1357cec34 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' ), + 'status' => array( 'private', 'publish', 'draft', 'future' ), 'type' => $this->product_types_to_export, 'limit' => $this->get_limit(), 'page' => $this->get_page(),