Skip to content

Kirby 3.7.5

$files->template()

Filter all files by the given template

$files->template(null|string|array $template): Kirby\Cms\Files

Parameters

Name Type Default
$template * null|string|array

Return type

Kirby\Cms\Files

This method does not modify the existing $files object but returns a new object with the changes applied. Learn more →

Parent class

Kirby\Cms\Files