Make wp_list_pages query filterable. #2

Closed
wants to merge 2 commits into
from

Projects

None yet

2 participants

@DrewAPicture

It would be nice to make the wp_list_pages() query filterable so, for instance, I can filter based on post meta or other args.

I tried to follow your style so the wp_parse_args got bundled in with the trim on line 637. Could split it out as its own line if you favor readability over succinctness.

@DrewAPicture

Take a look at 94104d5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment