[wp-hackers] wp_list_pages(), No LIMIT?

Leonid Mamchenkov leonid at mamchenkov.net
Mon Jun 25 07:43:38 GMT 2007


On 6/25/07, Matt <speedboxer at gmail.com> wrote:
> On 6/24/07, Leonid Mamchenkov <leonid at mamchenkov.net> wrote:
> >
> > wp_list_pages() is a wrapper function around get_pages().  get_pages()
> > provides better control of what you and how you get.   Check how it's
> > defined in wp-includes/post.php .
> Which doesn't have a limit either...

Well, it has get_pages filter, which could be used to get rid of
excessive pages.  The other thing, of course, is that this filter runs
AFTER the query has been executed. But then again, there is some form
of cache too...

Leonid Mamchenkov

More information about the wp-hackers mailing list