Skip to main content

Filter: gforms_order_trial_item_description

Dynamic Hook Name

This hook supports dynamic naming with the following modifiers:

  1. $form['id']

Example hook names:

  • gforms_order_trial_item_description (base hook)
  • gforms_order_trial_item_description_1 (with first modifier value)

Filter the description that appears in the subscription details box of the custom trial item.

Parameters

NameTypeDescription
$trial_descriptionstringThe trial description.
$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 200