Skip to main content

Filter: gform_enable_download_nocache_headers

Allows the nocache_headers() to be overridden.

Parameters

NameTypeDescription
$enableboolIf the nocache_headers() should be called. Default true.
$form_idstringThe ID of the form used to download files.
$filestringThe file to be downloaded.

Since

Source

Defined in includes/class-gf-download.php at line 152