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

Override locale so we can return mappings from WooCommerce in English language stores.

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

add_filter( 'woocommerce_product_csv_importer_class', 'wp_kama_woocommerce_product_csv_importer_class_filter' );

/**
 * Function for `woocommerce_product_csv_importer_class` filter-hook.
 * 
 * @param  $string 
 *
 * @return 
 */
function wp_kama_woocommerce_product_csv_importer_class_filter( $string ){

	// filter...
	return $string;
}
$string
-

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

OnboardingTasks::import_sample_products_from_csv()
woocommerce_product_csv_importer_class
OnboardingTasks::get_header_mappings()
woocommerce_product_csv_importer_class
WC_Product_CSV_Importer_Controller::get_importer()
woocommerce_product_csv_importer_class
woocommerce/src/Admin/API/OnboardingTasks.php 321
$importer_class = apply_filters( 'woocommerce_product_csv_importer_class', 'WC_Product_CSV_Importer' );
woocommerce/src/Admin/API/OnboardingTasks.php 419
$importer_class  = apply_filters( 'woocommerce_product_csv_importer_class', 'WC_Product_CSV_Importer' );
woocommerce/includes/admin/importers/class-wc-product-csv-importer-controller.php 81
$importer_class = apply_filters( 'woocommerce_product_csv_importer_class', 'WC_Product_CSV_Importer' );

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

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