Skip to main content

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

NameTypeDescription
$secure_download_locationboolIf the secure location should be used. Defaults to true.
$filestringThe URL of the file.
$this\GF_Field_FileUploadThe Field

Source

Defined in includes/fields/class-gf-field-fileupload.php at line 1423