$api->pages()
Returns the subpages for the given parent. The subpages can be filtered by status (draft, listed, unlisted, published, all)
$api->pages(string $parentId = null, string $status = null): Kirby\Cms\Pages
Parameters
| Name | Type | Default |
|---|---|---|
| $parentId | string |
null |
| $status | string |
null |