diff --git a/includes/export/class-wc-product-csv-exporter.php b/includes/export/class-wc-product-csv-exporter.php index a2229780e2b..801805af782 100644 --- a/includes/export/class-wc-product-csv-exporter.php +++ b/includes/export/class-wc-product-csv-exporter.php @@ -86,7 +86,7 @@ class WC_Product_CSV_Exporter extends WC_CSV_Batch_Exporter { * @return void */ public function set_product_category_to_export( $product_category_to_export ) { - $this->product_category_to_export = array_map( 'wc_clean', $product_category_to_export ); + $this->product_category_to_export = array_map( 'sanitize_title_with_dashes', $product_category_to_export ); } /**