Skip to content

Kirby 5.1.2

$slot->render()

Returns the slot content

$slot->render(): string|null

Return types

stringornull

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

Parent class

Kirby\Template\Slot