get_page_hierarchy Wordpress function


Description:

Order the pages with children under parents in a flat list.


Syntax:


Arguments:

(array) $pages Posts array.
(int) $page_id Parent page ID.


Return Type:

(array) A list arranged by hierarchy. Children immediately follow their parents.


Define At:

wp-includes/post.php


Wordpress Reference URL:

http://codex.wordpress.org/Function_Reference/get_page_hierarchy


0 Flares Facebook 0 Google+ 0 0 Flares ×
Posted in: Wordpress functions
0 Flares Facebook 0 Pin It Share 0 Google+ 0 0 Flares ×