Languages: English • Italiano • 日本語 (Add your language)
Order the pages with children under parents in a flat list.
<?php get_page_hierarchy( $posts, $parent ) ?>
Since: 2.0.0
get_page_hierarchy() is located in wp-includes/post.php
.
Page Tags: get_all_page_ids(), get_ancestors(), get_page(), get_page_link(), get_page_by_path(), get_page_by_title(), get_page_children(), get_page_hierarchy(), get_page_uri(), get_pages(), is_page(), page_uri_index(), wp_list_pages(), wp_page_menu()