$pages->get($key, $default = null)

Returns a $page object by its full URI

  • $key (string)
  • return ($page)

Example

<?= $page->children()->get('some-page')->title() ?>

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