$field->value()

Returns the value of a field as string.

  • return (string)

Example

<?= $page->text()->value()  ?>

Is something missing or incorrect? Edit this page on Github…