nest_pages


nest_pages ( $current_level, $children )

Parameters:
  • (array) current_level The level being iterated through.
  • (array) children The children grouped by parent post ID.
Returns:
  • (array) The nested array of pages.
Defined at:

Description

Outputs nested array of pages

Related Functions

get_pages, get_page, is_page, wp_list_pages, link_pages

Top Google Results

User discussions

wpseek mobile