Skip to main content

Filter: gk/gravityexport/field/flow/status-label

Dynamic Hook Name

This hook supports dynamic naming with the following modifiers:

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

Example hook names:

  • gk/gravityexport/field/flow/status-label (base hook)
  • gk/gravityexport/field/flow/status-label_1 (with first modifier value)
  • gk/gravityexport/field/flow/status-label_1_2 (with all modifier values)

Controls the label for a Gravity Flow status value.

Parameters

NameTypeDescription
$labelstringThe translated status label.
$statusstringThe raw status value.
$field\GF_FieldThe current field object.

Since

Source

Defined in src/Field/FlowField.php at line 428