Filter: gform_enable_download_nocache_headers
Allows the nocache_headers() to be overridden.
Parameters
| Name | Type | Description |
|---|---|---|
| $enable | bool | If the nocache_headers() should be called. Default true. |
| $form_id | string | The ID of the form used to download files. |
| $file | string | The file to be downloaded. |
Since
Source
Defined in includes/class-gf-download.php at line 152