Filter: gk/gravityview/fields/repeater/show-sub-field
Filters whether a field inside a Repeater shows in GravityView.
Applies to the Repeater field, its merge tag and the \{all_fields\} merge tag in a View, to its REST and CSV output, and to which fields a Search Bar field on the whole Repeater matches. Fields with Visibility "Hidden" are left out, and admin-only fields show only to people who can edit entries in Gravity Forms. Merge tags keep product fields and the fields they name.
Parameters
| Name | Type | Description |
|---|---|---|
| $show | bool | Whether the field shows. |
| $sub_field | \GF_Field | The field inside the Repeater. |
| $repeater | \GF_Field_Repeater | The Repeater that holds it. |
| $entry | array | The entry. Empty when there is none. |
Since
- 3.15.0
Source
Defined in src/Field/Types/Repeater.php at line 471