Opened 11 years ago
Closed 11 years ago
#24333 closed enhancement (duplicate)
Add Filter in get_page_templates()
Reported by: | luehrsen | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 3.5 |
Component: | Template | Keywords: | |
Focuses: | Cc: |
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.
#13265, #21891