Filter: gforms_order_trial_discount_item_name
Dynamic Hook Name
This hook supports dynamic naming with the following modifiers:
$form['id']
Example hook names:
gforms_order_trial_discount_item_name(base hook)gforms_order_trial_discount_item_name_1(with first modifier value)
Filter the name that appears in the order summary of the custom trial item.
Parameters
| Name | Type | Description |
|---|---|---|
| $trial_item_name | string | The trial item name. |
| $form | array | The Form object to filter through |
| $feed | array | The Form object to filter through |
| $entry | array | The entry object to filter through |
Since
- 2.6
Source
Defined in includes/orders/factories/class-gf-order-factory.php at line 214