Skip to main content

Filter: gform_form_after_open

Dynamic Hook Name

This hook supports dynamic naming with the following modifiers:

  1. $form_id

Example hook names:

  • gform_form_after_open (base hook)
  • gform_form_after_open_1 (with first modifier value)

Allows markup to be added directly after the opening form wrapper.

Parameters

NameTypeDescription
$markupstringThe current string to append.
$formarrayThe form being displayed.

Since

  • 2.7

Source

  • Defined in form_display.php at line 1301
  • Defined in form_display.php at line 5249