[wp-trac] [WordPress Trac] #39525: Send template candidates along with {$type}_template filter

WordPress Trac noreply at wordpress.org
Mon Jan 9 11:46:01 UTC 2017


#39525: Send template candidates along with {$type}_template filter
-------------------------+-----------------------------
 Reporter:  mschadegg    |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Themes       |    Version:  trunk
 Severity:  normal       |   Keywords:
  Focuses:  template     |
-------------------------+-----------------------------
 For many use case, it will be good, if the template candidates is used as
 second parameter in the {$type}_template filter.

 Maybe the the type should be used as a parameter as well, but it is
 possible to get the type by calling current_filter() function.

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


More information about the wp-trac mailing list