Skip to main content

Filter: gform_require_login_pre_download

Allows login to be required to access the file.

Parameters

NameTypeDescription
$require_loginboolDoes the user need to be logged in to access the file? Default false.
$form_idstringThe ID of the form used to upload the requested file.
$field_idstringThe ID of the field used to upload the requested file.

Since

  • 2.2.3.16

Source

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