[wp-trac] [WordPress Trac] #13265: Filter results of get_page_templates()

WordPress Trac noreply at wordpress.org
Tue Feb 25 18:43:31 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 nathanrice):

 >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.

 I hadn't thought of that. Would be VERY useful.

 Do we need an updated patch? What's the next step to getting this ticket
 reconsidered?

--
Ticket URL: <https://core.trac.wordpress.org/ticket/13265#comment:45>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list