woocommerce_file_download_method
Filter Hook: Filter download method.
Source: includes/class-wc-download-handler.php:228
Filter Hook: Filter download method.
Source: includes/class-wc-download-handler.php:228
Method: Die with an error message if the download fails.
Source: includes/class-wc-download-handler.php:622
Method: Get content type of a download.
Source: includes/class-wc-download-handler.php:454
Method: Set headers for the download.
Source: includes/class-wc-download-handler.php:476
Method: Check and set certain server config variables to ensure downloads work as intended.
Source: includes/class-wc-download-handler.php:515
Method: Clean all output buffers.
Source: includes/class-wc-download-handler.php:529
Method: Read file chunked.
Source: includes/class-wc-download-handler.php:550
Method: Filter headers for IE to fix issues over SSL.
Source: includes/class-wc-download-handler.php:607
Method: Download a file using X-Sendfile, X-Lighttpd-Sendfile, or X-Accel-Redirect if available.
Source: includes/class-wc-download-handler.php:311
Filter Hook: Fallback on force download method for remote files. This is because: 1. xsendfile needs proxy configuration to work for remote files, which cannot be assumed to be available on most hosts.
Source: includes/class-wc-download-handler.php:319