Opened 13 years ago
Closed 13 years ago
#24333 closed enhancement (duplicate)
Add Filter in get_page_templates()
| Reported by: | luehrsen | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Template | Version: | 3.5 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
Description
Although we can ingest custom page templates with the "template_redirect" action, it is not possible to ingest (and select) these templates with the page template dropdown. Therefore I would suggest adding a filter to maniuplate (array) $page_templates in class-wp-theme.php on line 940 ( WP_THEME::get_page_templates() ).
http://core.trac.wordpress.org/browser/trunk/wp-includes/class-wp-theme.php#L940
Change History (1)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
#13265, #21891