[wp-trac] Re: [WordPress Trac] #3566: Request for new function
get_page_parents
WordPress Trac
wp-trac at lists.automattic.com
Sun May 17 02:26:33 GMT 2009
#3566: Request for new function get_page_parents
-------------------------+--------------------------------------------------
Reporter: snakefoot | Owner: anonymous
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: Template | Version: 2.1
Severity: normal | Keywords: has-patch 2nd-opinion
-------------------------+--------------------------------------------------
Comment(by dd32):
> Isn't there a walker method or something like that allows to get a
page's ancestors as objects?
You'd be thinking of {{{_get_post_ancestors()}}} and
{{{get_post_ancestors()}}} in http://core.trac.wordpress.org/browser/trunk
/wp-includes/post.php
--
Ticket URL: <http://core.trac.wordpress.org/ticket/3566#comment:14>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list