$pages->get()
Custom getter that is able to find extension pages
$pages->get(string $key, mixed $default = null): Kirby\Cms\Page|null
Parameters
| Name | Type | Default |
|---|---|---|
| $key * | string |
– |
| $default | mixed |
null |
Return type
Kirby\Cms\Page|null
Parent class
Example
<?= $page->children()->get('some-page')->title() ?>