Skip to main content

Filter: gk/gravityexport/field/flow/user-property

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/user-property (base hook)
  • gk/gravityexport/field/flow/user-property_1 (with first modifier value)
  • gk/gravityexport/field/flow/user-property_1_2 (with all modifier values)

Modifies the user property used to resolve Gravity Flow user field values.

By default, the field exports the user ID. Use this filter to export a different property, such as display_name or nickname. Applies to workflow_user, workflow_multi_user, and the user portion of workflow_assignee_select fields.

Parameters

NameTypeDescription
$propertystringThe user property name. Default user_id.
$field\GF_FieldThe current field object.

Since

Source

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