Skip to content

Kirby 4.2.0

$template->render()

Renders the template with the given template data

$template->render(array $data = [ ]): string

Parameters

Name Type Default
$data array [ ]

Return type

string

Parent class

Kirby\Template\Template