$pages->findByUri()
Alias for $pages->find()
Deprecated in 3.7.0
Use $pages->find() instead $pages->findByUri(string $id): Kirby\Cms\Page|null
Parameters
| Name | Type | Default |
|---|---|---|
| $id * | string |
– |
Return type
Kirby\Cms\Page|null
Parent class
Example
<?= $page->children()->findByURI('some-page')->title() ?>