Skip to main content

Filter: gform_secure_file_download_is_https

Allow for override of SSL replacement

By default Gravity Forms will attempt to determine if the schema of the URL should be overwritten for SSL. This is not ideal for all situations, particularly domain mapping. Setting $field_ssl to false will prevent the override.

Parameters

NameTypeDescription
$field_sslboolTrue to allow override if needed or false if not.
$file_pathstringThe file path of the download file.
$field\GF_Field_FileUploadThe field object for further context.

Source

Defined in src/Fields/ImageHopperField.php at line 218