[wp-trac] [WordPress Trac] #33309: Add support to add page template via theme_page_templates filter

WordPress Trac noreply at wordpress.org
Sat Aug 8 06:51:09 UTC 2015


#33309: Add support to add page template via theme_page_templates filter
-------------------------+-----------------------------
 Reporter:  prionkor     |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  General      |    Version:  4.2.4
 Severity:  normal       |   Keywords:
  Focuses:               |
-------------------------+-----------------------------
 `theme_page_templates` (https://core.trac.wordpress.org/browser/trunk/src
 /wp-includes/class-wp-theme.php#L1022) does not currently allow for page
 templates to be added.

 I am wondering is there any good reason for that? Not allowing additional
 template to be added beats the purpose of the filter.

 Can we have the filter ability to add page templates?

--
Ticket URL: <https://core.trac.wordpress.org/ticket/33309>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list