Filter: gform_require_login
Dynamic Hook Name
This hook supports dynamic naming with the following modifiers:
$form_id
Example hook names:
gform_require_login(base hook)gform_require_login_1(with first modifier value)
Filter whether the user must be logged-in to view and submit the form.
Parameters
| Name | Type | Description |
|---|---|---|
| $require_login | bool | Indicates if the form requires the user to be logged-in. |
| $form | array | The current form object. |
Since
Source
Defined in common.php at line 7553