Skip to main content

Filter: gforms_order_trial_discount_item_price

Dynamic Hook Name

This hook supports dynamic naming with the following modifiers:

  1. $form['id']

Example hook names:

  • gforms_order_trial_discount_item_price (base hook)
  • gforms_order_trial_discount_item_price_1 (with first modifier value)

Filter the trial discount amount.

Parameters

NameTypeDescription
$trial_discountfloatThe trial discount amount.
$formarrayThe Form object to filter through
$feedarrayThe Form object to filter through
$entryarrayThe entry object to filter through

Since

Source

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