Merge pull request #19928 from woocommerce/update/19921-product-export-pending
Include pending products in the export
This commit is contained in:
commit
4ca217343a
|
@ -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(),
|
||||
|
|
Loading…
Reference in New Issue