[wp-trac] [WordPress Trac] #25879: Add filter to page_template_dropdown()

WordPress Trac noreply at wordpress.org
Fri Nov 8 11:40:58 UTC 2013


#25879: Add filter to page_template_dropdown()
-------------------------+-----------------------------
 Reporter:  meloniq      |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Template     |    Version:  trunk
 Severity:  normal       |   Keywords:  has-patch
-------------------------+-----------------------------
 {{{page_template_dropdown()}}} is used in 'Page Attributes' metabox to
 list available page templates. The filter hook will give ability to adjust
 what's displayed in this box.

 Our issue:
 We use many custom templates to perform some specific tasks like building
 frontend dashboards, submit/edit forms, login pages, etc.
 As far it works well, but the 'Page Attributes' metabox fulfill with page
 templates that in most of cases are not intended for any other use, and
 some administrators get confused seeing full list of available templates
 while creating a new page.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/25879>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list