[wp-trac] [WordPress Trac] #11242: Add "template_include" action to be run just before templates are included

WordPress Trac wp-trac at lists.automattic.com
Mon Nov 23 18:39:30 UTC 2009


#11242: Add "template_include" action to be run just before templates are included
-------------------------+--------------------------------------------------
 Reporter:  holizz       |       Owner:  westi     
     Type:  enhancement  |      Status:  new       
 Priority:  normal       |   Milestone:  Unassigned
Component:  Plugins      |     Version:            
 Severity:  normal       |    Keywords:  has_patch 
-------------------------+--------------------------------------------------
 While working on a template-orientated plugin, we found ourselves
 replicating a large chunk of wp-includes/template-loader.php in our
 template_redirect action, so we thought there should be a filter to modify
 the template path before it gets included.

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


More information about the wp-trac mailing list