Kirby 2 Docs
❌ Kirby 2 has reached its end of life. Migrate to a current version and
upgrade your v2 license now
.
$field->value()
Returns the value of a field as string.
return
(string)
Example
<?= $page->text()->value() ?>
↑
Cheat Sheet overview
←
$field->upper()
→
$field->widont()
↓
Back to Cheat Sheet section
Top