WordPress at Your Fingertips
filter is not described

woocommerce_product_file_download_path filter-hook . WC 1.0

allow overriding based on the particular file being requested.

Usage

add_filter( 'woocommerce_product_file_download_path', 'filter_function_name_7308', 10, 3 );
function filter_function_name_7308( $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 2022
return apply_filters( 'woocommerce_product_file_download_path', $file_path, $this, $download_id );

Where in WP core the hook is used WooCommerce

Usage not found.