WordPress at a glance
filter is not described

woocommerce_file_download_path filter-hook . WC 1.0

Usage

add_filter( 'woocommerce_file_download_path', 'filter_function_name_9544', 10, 3 );
function filter_function_name_9544( $file_file, $product, $key ){
	// filter...

	return $file_file;
}
$file_file
-
$product
-
$key
-

Where the hook is called

WC_API_Products::save_downloadable_files()
woocommerce_file_download_path
WC_REST_Products_V2_Controller::save_downloadable_files()
woocommerce_file_download_path
WC_REST_Products_V1_Controller::save_downloadable_files()
woocommerce_file_download_path
WC_Product_Data_Store_CPT::read_downloads()
woocommerce_file_download_path
woocommerce/includes/legacy/api/v2/class-wc-api-products.php 1537
$download->set_file( apply_filters( 'woocommerce_file_download_path', $file['file'], $product, $key ) );
woocommerce/includes/legacy/api/v3/class-wc-api-products.php 2036
$download->set_file( apply_filters( 'woocommerce_file_download_path', $file['file'], $product, $key ) );
woocommerce/includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php 1414
$download->set_file( apply_filters( 'woocommerce_file_download_path', $file['file'], $product, $key ) );
woocommerce/includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php 965
$download->set_file( apply_filters( 'woocommerce_file_download_path', $file['file'], $product, $key ) );
woocommerce/includes/data-stores/class-wc-product-data-store-cpt.php 502
$download->set_file( apply_filters( 'woocommerce_file_download_path', $value['file'], $product, $key ) );

Where in WP core the hook is used WooCommerce

Usage not found.