Skip to content

Kirby 5.0.4

$field->upper()

Converts the field content to uppercase

$field->upper(): Kirby\Content\Field

Return type

Kirby\Content\Field

This method modifies the existing $field object it is applied to and returns it again.

<h1><?= $page->title()->upper() ?></h1>