Skip to main content

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​

NameTypeDescription
$showboolWhether the field shows.
$sub_field\GF_FieldThe field inside the Repeater.
$repeater\GF_Field_RepeaterThe Repeater that holds it.
$entryarrayThe entry. Empty when there is none.

Since​

  • 3.15.0

Source​

Defined in src/Field/Types/Repeater.php at line 471