[wp-trac] [WordPress Trac] #13265: Filter results of get_page_templates()
WordPress Trac
noreply at wordpress.org
Tue Feb 25 14:37:55 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
-------------------------+-----------------------------
Changes (by GaryJ):
* focuses: => template
Comment:
One small use case that doesn't appear to have been mentioned yet - having
a page templates filter would allow a child theme (or plugin) to hide a
template included with the parent theme, that the developer doesn't want
made available to clients in the Page Templates dropdown list.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/13265#comment:42>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list