Skip to main content

Filter: gform_get_input_value

Dynamic Hook Name

This hook supports dynamic naming with the following modifiers:

  1. $this->formId
  2. $this->id

Example hook names:

  • gform_get_input_value (base hook)
  • gform_get_input_value_1 (with first modifier value)
  • gform_get_input_value_1_2 (with all modifier values)

Allows the field or input value to be overridden when populating the entry (usually on retrieval from the database).

Parameters

NameTypeDescription
$valuemixedThe field or input value to be filtered.
$entryarrayThe entry currently being processed.
$this\GF_FieldThe field currently being processed.
$input_idstringThe ID of the input being processed from a multi-input field type or an empty string.

Since

  • 1.5.3
  • 1.9.14: Added the form and field specific versions.

Source

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