edd_set_requested_file_scheme( string $requested_file, array $download_files, string $file_key )
Given a local URL, make sure the requests matches the request scheme
Description Description
Parameters Parameters
- $requested_file
-
(Required) The Requested File
- $download_files
-
(Required) The download files
- $file_key
-
(Required) The file key
Return Return
(string) The file (if local) with the matched scheme
Source Source
File: includes/process-download.php
Changelog Changelog
Version | Description |
---|---|
2.5.10 | Introduced. |