Filter: gform_require_login_pre_download
Allows login to be required to access the file.
Parameters
| Name | Type | Description |
|---|---|---|
| $require_login | bool | Does the user need to be logged in to access the file? Default false. |
| $form_id | string | The ID of the form used to upload the requested file. |
| $field_id | string | The 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