woocommerce_product_template_csv_file_path filter-hookWC 1.0

Usage

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
-

Where the hook is called

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

Where the hook is used in WooCommerce

Usage not found.