[wp-trac] [WordPress Trac] #41575: Add global action to get_template_part

WordPress Trac noreply at wordpress.org
Thu Mar 28 21:12:27 UTC 2019


#41575: Add global action to get_template_part
-------------------------+--------------------------
 Reporter:  pcfreak30    |       Owner:  johnbillion
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:  5.2
Component:  Themes       |     Version:
 Severity:  normal       |  Resolution:  fixed
 Keywords:  has-patch    |     Focuses:  template
-------------------------+--------------------------
Changes (by johnbillion):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"45059" 45059]:
 {{{
 #!CommitTicketReference repository="" revision="45059"
 Themes: Introduce a generic action that's fired when a template part is
 loaded.

 This action allows debugging mechanisms to perform greater introspection
 into which template parts are loaded for any given request. It also
 exposes the array of candidate template part file names for each template
 part instance.

 Props pcfreak30, jdeeburke

 Fixes #41575
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/41575#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list