[wp-trac] [WordPress Trac] #13265: Filter results of get_page_templates()
WordPress Trac
noreply at wordpress.org
Wed Jul 9 07:40:30 UTC 2014
#13265: Filter results of get_page_templates()
-------------------------+-----------------------------
Reporter: nathanrice | Owner: nathanrice
Type: enhancement | Status: reopened
Priority: normal | Milestone: Future Release
Component: Themes | Version: 3.0
Severity: normal | Resolution:
Keywords: has-patch | Focuses: template
-------------------------+-----------------------------
Comment (by varun21):
Here's a use case for being able to add new templates:
An example would be child themes (like Prose from StudioPress) which may
want to allow user's to create custom templates and keep them outside the
theme's directory (like under /uploads/prose/mytemplate.php) so that the
template isn't deleted when the theme is upgraded.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/13265#comment:58>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list