Skip to main content

Filter: gform_product_quantity

Dynamic Hook Name

This hook supports dynamic naming with the following modifiers:

  1. $form_id
  2. $this->id

Example hook names:

  • gform_product_quantity (base hook)
  • gform_product_quantity_1 (with first modifier value)
  • gform_product_quantity_1_2 (with all modifier values)

Filter for the product quantity label.

Parameters

NameTypeDescription
$form_idintThe form ID.
$field_idintThe field ID.

Since

  • unknown: unknown

Source

Defined in includes/fields/class-gf-field.php at line 3364