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

Returns a $page object by its full URI

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

Example

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