$api->searchPages()
Search for direct subpages of the given parent
$api->searchPages(string|null $parent = null): Kirby\Cms\Pages
Parameters
| Name | Type | Default |
|---|---|---|
| $parent | stringornull |
null
|
Return type
This method modifies the existing $api object it is applied to and returns it again.