apply_filters( 'woocommerce_file_download_method', string $method , int $product_id , string $file_path )
Filter download method.
Description Description
Parameters Parameters
- $method
-
Download method.
- $product_id
-
Product ID.
- $file_path
-
URL to file.
Source Source
File: includes/class-wc-download-handler.php
Changelog Changelog
Version | Description |
---|---|
4.5.0 | Introduced. |