Skip to main content

Filter: gform_product_info

Dynamic Hook Name

This hook supports dynamic naming with the following modifiers:

  1. $form['id']

Example hook names:

  • gform_product_info (base hook)
  • gform_product_info_1 (with first modifier value)

Allows the product info used by add-ons and when generating the entry order summary table to be overridden.

Parameters

NameTypeDescription
$product_infoarrayThe selected products, options, and shipping details for the current entry.
$formarrayThe form object used to generate the current entry.
$leadarrayThe current entry object.

Since

Source

Defined in common.php at line 4459