Filter results of get_page_templates()
|Reported by:||nathanrice||Owned by:||nathanrice|
|Cc:||westi, nathanrice, pross@…, mikeschinkel@…, anointed, anmari@…, travis@…, alex.ciobica@…, pbaylies, pippin@…, erick@…, mercijavier@…, andyadamscp@…, stephenharris, info@…|
It doesn't make sense to not have a filter on the returned value of this function. I can think of several instances where this would be useful.
I also inserted a "pre_" filter at the beginning of the function so plugins/themes can short-circuit the function as well.
I'm hoping this is small enough to get in for 3.0.
Change History (47)
comment:21 ciobi — 20 months ago
- Cc alex.ciobica@… added
- Resolution set to fixed
- Status changed from new to closed