Skip to main content

Filter: gk/gravityview/fields/fileupload/secure-links/bypass

Filters whether to bypass secure download URLs for this field.

Parameters

NameTypeDescription
$bypass_secure_linksboolWhether to bypass secure download URLs and use direct file paths.
$field\GF_Field_FileUploadThe file upload field.
$field_settingsarrayGravityView settings for the field.
$context\Template_ContextThe template context.
$file_pathstringThe original file path.

Since

  • 2.45

Source

Defined in src/Field/Types/FileUpload.php at line 773