Filter: gform_disable_view_counter
Dynamic Hook Name
This hook supports dynamic naming with the following modifiers:
$form_id
Example hook names:
gform_disable_view_counter(base hook)gform_disable_view_counter_1(with first modifier value)
A filter that allows disabling of the form view counter
Parameters
| Name | Type | Description |
|---|---|---|
| $form_id | int | The Form ID to filter when disabling the form view counter |
| $ | bool | Default set to false (view counter enabled), can be set to true to disable the counter |
Source
Defined in form_display.php at line 1153