2020-05-01 / 4179阅 / 悠然
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.
(int)
(Required)
Page ID.
(array)
(Required)
List of page objects from which descendants should be identified.
(array) List of page children.