Skip to main content

Filter: gforms_order_trial_discount_item_description

Dynamic Hook Name

This hook supports dynamic naming with the following modifiers:

  1. $form['id']

Example hook names:

  • gforms_order_trial_discount_item_description (base hook)
  • gforms_order_trial_discount_item_description_1 (with first modifier value)

Filter the description of the trial discount.

Parameters

NameTypeDescription
$trial_discount_descriptionstringThe trial discount description.
$formarrayThe Form object to filter through
$feedarrayThe Form object to filter through
$entryarrayThe entry object to filter through

Since

  • 2.6

Source

Defined in includes/orders/factories/class-gf-order-factory.php at line 147