Reference

Guide

$pages->findByIdRecursive()

Finds a child or child of a child recursively.

$pages->findByIdRecursive(string $id, string $startAt = null, bool $multiLang = false): mixed

Parameters

Name Type Default Description
$id string
$startAt string null
$multiLang bool false

Return type

mixed

Source code

kirby/src/Cms/Pages.php#L232