Skip to main content

Filter: gk/gravityview/admin-views/preset-fields/zones

Filters the zone mapping of the generated default fields for a template.

Parameters​

NameTypeDescription
$zonesarray|nullThe mapped zones keyed by <context>_<areaid>, or null to use the Table zone.
$contextstringThe context (directory or single).
$template_idstringThe template ID.
$field_configsarrayFlat array of field configurations.

Since​

  • 3.10.0

Source​

Defined in src/Admin/PresetFieldGenerator.php at line 281