❌ Kirby 2 no longer actively supported. Migrate to a current version and
upgrade your v2 license now
.
$site->id()
Returns the site id, which is an empty string in case of the site object
return
(string)
Example
<?= $site->id() ?>
↑
Cheat Sheet overview
←
$site->homePage()
→
$site->image($filename = false)
↓
Back to Cheat Sheet section
Top