woocommerce_product_file_download_path

woocommerce_product_file_download_path

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

apply_filters('woocommerce_product_file_download_path') is found 1 times:

  • /includes/abstracts/abstract-wc-product.php line 2125
    		$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().