Skip to main content

Filter: gform_footer_init_scripts_filter

Dynamic Hook Name

This hook supports dynamic naming with the following modifiers:

  1. $form_id

Example hook names:

  • gform_footer_init_scripts_filter (base hook)
  • gform_footer_init_scripts_filter_1 (with first modifier value)

A filter to allow modification of scripts that fire in the footer

Parameters

NameTypeDescription
$form_idintThe Form ID to filter through
$form_stringstringGet the form scripts in a string
$formarrayThe Form object to filter through
$current_pageintThe Current form page ID (If paging is enabled)

Source

Defined in form_display.php at line 1738