get_page_children


get_page_children ( $page_id, $pages )

Parameters:
  • (int) $page_id Page ID.
  • (array) $pages List of page objects from which descendants should be identified.
Returns:
  • (array) List of page children.
Defined at:

Description

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.

Related Functions

get_children, get_term_children, _get_term_children, get_category_children, get_page_link

Top Google Results

User discussions

wpseek mobile