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.


Top ↑

Source Source

File: includes/class-wc-download-handler.php


Top ↑

Changelog Changelog

Changelog
Version Description
4.5.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.