[wp-trac] [WordPress Trac] #63600: Enhancement: Add get_pages_args filter to allow full control over get_pages() arguments before parsing in get_pages()
WordPress Trac
noreply at wordpress.org
Mon Nov 17 18:32:05 UTC 2025
#63600: Enhancement: Add get_pages_args filter to allow full control over
get_pages() arguments before parsing in get_pages()
----------------------------------+------------------------------
Reporter: vincent06 | Owner: vincent06
Type: enhancement | Status: assigned
Priority: normal | Milestone: Awaiting Review
Component: Posts, Post Types | Version: 6.5
Severity: normal | Resolution:
Keywords: has-patch needs-docs | Focuses: template
----------------------------------+------------------------------
Changes (by vincent06):
* version: 6.8 => 6.5
* component: Query => Posts, Post Types
Comment:
Hi everyone š
Iām following up on this ticket after a few months of inactivity.
I just wanted to kindly ask if someone could take another look at the
proposed enhancement, or let me know if anything is still unclear or needs
adjustment.
The proposed `get_pages_args` filter is intentionally very small and fully
backward-compatible, but it fills a real gap: it allows developers to
modify `get_pages()` arguments *before* they are parsed, something that
cannot be achieved through `get_pages_query_args` alone when working with
third-party code that relies on `get_pages()` and `wp_dropdown_pages()`.
If this enhancement is not desirable for some reason, I would also really
appreciate understanding why, so I can adjust the proposal accordingly or
close the ticket.
Thanks again for your time and for all the work you do on WordPress š
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63600#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list