❌ Kirby 2 no longer actively supported. 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