Skip to content

Kirby 4.5.0

$pages->template()

Filter all pages by the given template

$pages->template(string|array $templates): Kirby\Cms\Pages

Parameters

Name Type Default
$templates * string|array

Return type

Kirby\Cms\Pages

Parent class

Kirby\Cms\Pages