#25900 closed enhancement (duplicate)
Allow exclude_tree to accept a comma-separated list of parent page IDs
| Reported by: | awoz | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Query | Version: | 3.7.1 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
Description (last modified by )
Reference: http://codex.wordpress.org/Function_Reference/wp_list_pages
As documented by wp_list_pages(), consider extending/fixing 'exclude_tree' so that it accepts a comma-separated list of parent Page IDs. One possible solution for get_pages() was previously posted here: #16202
I've attempted to use a plugin that calls wp_list_pages with a comma-separated list of parent ID. Unfortunately, the core API for this function ignores more than one parent ID.
Thanks.
Change History (2)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Duplicate of #9153, #16202, and #19478.