Merge pull request #19907 from woocommerce/update/include-future-products-export

Include scheduled products in the export.
This commit is contained in:
Claudiu Lodromanean 2018-04-30 08:04:41 -07:00 committed by GitHub
commit 3943a3b9dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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(),