❌ Kirby 2 no longer actively supported. Migrate to a current version and
upgrade your v2 license now
.
$roots->snippets()
Returns the root of the snippets folder.
return
(string)
Example
<?= kirby()->roots()->snippets() ?>
↑
Cheat Sheet overview
←
$roots->site()
→
$roots->tags()
↓
Back to Cheat Sheet section
Top