block_core_page_list_nest_pages
block_core_page_list_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: - Introduced in WordPress: 5.8.0
- Deprecated in WordPress: —
Description
Outputs nested array of pages