get_page_children ( $page_id, $pages )
- (int) $page_id Page ID.
- (array) $pages List of page objects from which descendants should be identified.
- (array) List of page children.
- Introduced in WordPress: 1.5.1
- Deprecated in WordPress: —
Identify descendants of a given page ID in a list of page objects.
Descendants are identified from the
$pages array passed to the function. No database queries are performed.