Skip to content

Kirby 6.0.0

$snippet->open()

Opens the snippet and starts output buffering to catch all slots in between

$snippet->open(): Snippet

Return type

Kirby\Template\Snippet

This method modifies the existing $snippet object it is applied to and returns it again.

Parent class

Kirby\Template\Snippet