Filter: gform_confirmation_anchor
Dynamic Hook Name
This hook supports dynamic naming with the following modifiers:
$form_id
Example hook names:
gform_confirmation_anchor(base hook)gform_confirmation_anchor_1(with first modifier value)
Allow the anchor to be enabled/disabled or set to a scroll distance.
Parameters
| Name | Type | Description |
|---|---|---|
| $anchor | bool|int | Is the form anchor enabled? True when ajax enabled or when the form has multiple pages. |
| $form | array | The current Form object. |
Since
- 1.9.17.12: Added the $form parameter.
- Unknown: Unknown
Source
Defined in form_display.php at line 5339