Skip to main content

Filter: gform_confirmation_anchor

Dynamic Hook Name

This hook supports dynamic naming with the following modifiers:

  1. $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

NameTypeDescription
$anchorbool|intIs the form anchor enabled? True when ajax enabled or when the form has multiple pages.
$formarrayThe current Form object.

Since

  • 1.9.17.12: Added the $form parameter.
  • Unknown: Unknown

Source

Defined in form_display.php at line 5339