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

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

add_filter( 'woocommerce_product_template_csv_file_path', 'wp_kama_woocommerce_product_template_csv_file_path_filter', 10, 2 );

/**
 * Function for `woocommerce_product_template_csv_file_path` filter-hook.
 * 
 * @param  $template_path 
 * @param  $template_name 
 *
 * @return 
 */
function wp_kama_woocommerce_product_template_csv_file_path_filter( $template_path, $template_name ){

	// filter...
	return $template_path;
}
$template_path
-
$template_name
-

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

OnboardingTasks::create_product_from_template()
woocommerce_product_template_csv_file_path
woocommerce/src/Admin/API/OnboardingTasks.php 385
$template_path = apply_filters( 'woocommerce_product_template_csv_file_path', $template_path, $template_name );

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

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