Skip to main content

Filter: gk/gravityview/admin-views/template-switch/transfer

Lets the target template map zones transferred from another template into its own zones.

Parameters​

NameTypeDescription
$mappedarray|nullThe mapped zones keyed by <context>_<areaid>, or null when no template claimed the transfer.
$zonesarrayThe ordered source zones.
$contextstringThe context (directory or single).
$from_slugstringThe source template slug.
$to_slugstringThe target template slug.
$to_templatestringThe target template ID.

Since​

  • 3.10.0

Source​

Defined in src/Admin/TemplateFieldTransfer.php at line 220