$pages->findByURI($uri)

Finds a $page object in the collection by its full URI

  • $uri (string)
    The full URI of a page
  • return ($page)

Example

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