$field->toUrl()

Creates an URL for any field value

  • return (string)

Example

<?= $page->title()->toUrl() ?>

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