Filter: gform_secure_file_download_location
By default the real location of the uploaded file will be hidden and the download URL will be generated with a security token to prevent guessing or enumeration attacks to discover the location of other files.
Return FALSE to display the real location.
Parameters
| Name | Type | Description |
|---|---|---|
| $secure_download_location | bool | If the secure location should be used. Defaults to true. |
| $file | string | The URL of the file. |
| $this | \GF_Field_FileUpload | The Field |
Source
Defined in includes/fields/class-gf-field-fileupload.php at line 1423