woocommerce_product_file_download_path, $file_path, $this, $download_id
woocommerce_product_file_download_path, $file_path, $this, $download_id
Appears in: woocommerce.11.0.0
Hook Type: filter
Displaying hooks found in version: woocommerce.11.0.0apply_filters('woocommerce_product_file_download_path, $file_path, $this, $download_id') is found 1 times:
- /includes/abstracts/abstract-wc-product.php line 2321
$files = $this->get_downloads(); $file_path = isset( $files[ $download_id ] ) ? $files[ $download_id ]->get_file() : ''; // allow overriding based on the particular file being requested. return apply_filters( 'woocommerce_product_file_download_path', $file_path, $this, $download_id ); } /** * Get the suffix to display after prices > 0. * * @param string $price to calculate, left blank to just use get_price().