Skip to content

Kirby 4.4.1

$snippet->slot()

Starts a new slot with the given name

$snippet->slot(string $name = 'default'): Kirby\Template\Slot

Parameters

Name Type Default
$name string 'default'

Return type

Kirby\Template\Slot

Parent class

Kirby\Template\Snippet