Opens in a new tab
A picture of Jeff Brigman
I CODE TODAY FOR
A BETTER TOMORROW

Glossary Term

get_page_children()

3 tags 1 category

get_page_children() — Identifies 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.

Inputs: $page_id (int): Page ID. $pages (WP_Post[]): List of page objects from which descendants should be identified.

Returns WP_Post[]: List of page children.

Term Connections

Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.

Loading term connections…