$field->xml()

Converts the field content to valid XML

  • return (string)

Example

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

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