[wp-trac] [WordPress Trac] #8342: Support depth argument to get_pages.

WordPress Trac wp-trac at lists.automattic.com
Tue Nov 25 14:45:06 GMT 2008


#8342: Support depth argument to get_pages.
-------------------------+--------------------------------------------------
 Reporter:  mellis       |       Owner:  anonymous
     Type:  enhancement  |      Status:  new      
 Priority:  normal       |   Milestone:  2.8      
Component:  General      |     Version:           
 Severity:  normal       |    Keywords:           
-------------------------+--------------------------------------------------
 wp_list_pages accepts a depth argument which limits the number of levels
 of the page hierarchy to descend.  It would be great if the depth argument
 were promoted to the get_pages function to ease custom listing of part of
 the page hierarchy.  This would be much simpler than using a Walker or
 manually limiting the depth of pages listed.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/8342>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list