woocommerce_product_file_download_path filter-hookWC 1.0

Usage

add_filter( 'woocommerce_product_file_download_path', 'wp_kama_woocommerce_product_file_download_path_filter', 10, 3 );

/**
 * Function for `woocommerce_product_file_download_path` filter-hook.
 * 
 * @param  $file_path   
 * @param  $that        
 * @param  $download_id 
 *
 * @return 
 */
function wp_kama_woocommerce_product_file_download_path_filter( $file_path, $that, $download_id ){

	// filter...
	return $file_path;
}
$file_path
-
$that
-
$download_id
-

Where the hook is called

WC_Product::get_file_download_path()
woocommerce_product_file_download_path
woocommerce/includes/abstracts/abstract-wc-product.php 2088
return apply_filters( 'woocommerce_product_file_download_path', $file_path, $this, $download_id );

Where the hook is used in WooCommerce

Usage not found.