WordPress at a glance
filter is not described

woocommerce_csv_product_import_valid_filetypes filter-hook . WC 1.0

Get all the valid filetypes for a CSV file.

Usage

add_filter( 'woocommerce_csv_product_import_valid_filetypes', 'filter_function_name_1074' );
function filter_function_name_1074( $array ){
	// filter...

	return $array;
}
$array
-

Where the hook is called

WC_Product_CSV_Importer_Controller::get_valid_csv_filetypes()
woocommerce_csv_product_import_valid_filetypes
woocommerce/includes/admin/importers/class-wc-product-csv-importer-controller.php 114-120
return apply_filters(
	'woocommerce_csv_product_import_valid_filetypes',
	array(
		'csv' => 'text/csv',
		'txt' => 'text/plain',
	)
);

Where in WP core the hook is used WooCommerce

Usage not found.