Kirby 2 Docs
❌ Kirby 2 has reached its end of life. Migrate to a current version and
upgrade your v2 license now
.
kirby()
Returns the Kirby object in any situation
return
($kirby)
Example
<?= kirby()->roots()->content() ?>
↑
Cheat Sheet overview
←
js($path, $async = false)
→
kirbytag($attr)
↓
Back to Cheat Sheet section
Top