[wp-trac] [WordPress Trac] #10232: Add new hooks called after template parts are loaded

WordPress Trac wp-trac at lists.automattic.com
Mon Jun 22 06:00:35 GMT 2009


#10232: Add new hooks called after template parts are loaded
-------------------------+--------------------------------------------------
 Reporter:  sirzooro     |       Owner:           
     Type:  enhancement  |      Status:  new      
 Priority:  normal       |   Milestone:  2.8.1    
Component:  Template     |     Version:  2.8      
 Severity:  normal       |    Keywords:  has-patch
-------------------------+--------------------------------------------------
 At this moment functions get_header() and other similar ones do actions
 get_header, etc. at the beginning. I have changed them (see attached
 patch) to also do post_get_header, etc. actions at the end.

 In particular I need post_get_sidebar action for my plugin, to distinguish
 cases when loop_start/loop_end actions are called for main post list from
 these in sidebar widgets.

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


More information about the wp-trac mailing list