Skip to main content

Filter: gravityflow_editable_fields

Dynamic Hook Name

This hook supports dynamic naming with the following modifiers:

  1. $this->get_type()

Example hook names:

  • gravityflow_editable_fields (base hook)
  • gravityflow_editable_fields_1 (with first modifier value)

Allow the editable fields array to be modified.

Parameters

NameTypeDescription
$editable_fieldsarrayThe current array of editable fields
$this\Gravity_Flow_StepThe current step.

Since

  • 2.9.1: moved to trait-editable-fields.php and expanded from a general filter as well as by step type that supports editable fields.
  • 2.5.8: only available as gravityflow_editable_fields_user_input

Source

Defined in includes/steps/traits/trait-editable-fields.php at line 163