WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru Самая быстрая Тема-конструктор для WordPress
фильтр не описан

woocommerce_csv_product_import_mapping_special_columns хук-фильтр . WC 1.0

Использование

add_filter( 'woocommerce_csv_product_import_mapping_special_columns', 'filter_function_name_444', 10, 2 );
function filter_function_name_444( $array, $raw_headers ){
	// filter...

	return $array;
}
$array
-
$raw_headers
-

Где вызывается хук

WC_Product_CSV_Importer_Controller::auto_map_columns()
woocommerce_csv_product_import_mapping_special_columns
woocommerce/includes/admin/importers/class-wc-product-csv-importer-controller.php 555-576
apply_filters(
	'woocommerce_csv_product_import_mapping_special_columns',
	array(
		/* translators: %d: Attribute number */
		__( 'Attribute %d name', 'woocommerce' ) => 'attributes:name',
		/* translators: %d: Attribute number */
		__( 'Attribute %d value(s)', 'woocommerce' ) => 'attributes:value',
		/* translators: %d: Attribute number */
		__( 'Attribute %d visible', 'woocommerce' ) => 'attributes:visible',
		/* translators: %d: Attribute number */
		__( 'Attribute %d global', 'woocommerce' ) => 'attributes:taxonomy',
		/* translators: %d: Attribute number */
		__( 'Attribute %d default', 'woocommerce' ) => 'attributes:default',
		/* translators: %d: Download number */
		__( 'Download %d name', 'woocommerce' ) => 'downloads:name',
		/* translators: %d: Download number */
		__( 'Download %d URL', 'woocommerce' ) => 'downloads:url',
		/* translators: %d: Meta number */
		__( 'Meta: %s', 'woocommerce' ) => 'meta:',
	),
	$raw_headers
)

Где используется хук в ядре WooCommerce

woocommerce/includes/admin/importers/class-wc-product-csv-importer-controller.php 112
add_filter( 'woocommerce_csv_product_import_mapping_special_columns', 'wc_importer_default_special_english_mappings', 100 );
woocommerce/includes/admin/importers/class-wc-product-csv-importer-controller.php 65
add_filter( 'woocommerce_csv_product_import_mapping_special_columns', 'wc_importer_shopify_special_mappings', 10, 2 );