Merge pull request #19907 from woocommerce/update/include-future-products-export
Include scheduled products in the export.
This commit is contained in:
commit
3943a3b9dc
|
@ -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(),
|
||||
|
|
Loading…
Reference in New Issue