Skip to content

Kirby 6.0.0

$snippet->hasSlots()

Returns whether the snippet has any closed slots

$snippet->hasSlots(): bool

Return type

bool

Parent class

Kirby\Template\Snippet