[wp-trac] [WordPress Trac] #15957: add two new actions to track template loading

WordPress Trac wp-trac at lists.automattic.com
Thu Dec 23 16:52:31 UTC 2010


#15957: add two new actions to track template loading
-------------------------+------------------------------
 Reporter:  willnorris   |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Template     |     Version:
 Severity:  normal       |  Resolution:
 Keywords:               |
-------------------------+------------------------------
Changes (by willnorris):

 * component:  Themes => Template


Comment:

 I'm actually using this with Daryl's modular template idea (#12877) so
 it's definitely related.  As for the 'shutdown' action, unless I'm
 mistaken, that's only called when PHP shuts down.  The idea of
 'post_load_template' is to be called at the end of each template loading.
 Since a dozen or more template files can sometimes be involved in
 constructing a page, this allows you to clearly mark the beginning and end
 of each template.

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


More information about the wp-trac mailing list