[wp-trac] [WordPress Trac] #14310: Make template hierarchy filterable

WordPress Trac noreply at wordpress.org
Sun Mar 17 08:15:48 UTC 2013


#14310: Make template hierarchy filterable
------------------------------------+-----------------------------
 Reporter:  scribu                  |       Owner:
     Type:  enhancement             |      Status:  reopened
 Priority:  normal                  |   Milestone:  Future Release
Component:  Themes                  |     Version:
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch dev-feedback  |
------------------------------------+-----------------------------

Comment (by louisremi):

 It would be interesting to provide a generic filter that would apply to
 any $type.
 I'm trying create WordPress themes using client side frameworks (starting
 with AngularJS) and I need to recreate the locate_template logic on the
 client-side. This implies to always send the complete $templates array
 generated by get_query_template.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/14310#comment:44>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list