[wp-trac] [WordPress Trac] #46652: Add "template_loaded" action after a template has been included as part of the template hierarchy
WordPress Trac
noreply at wordpress.org
Tue Sep 17 18:58:45 UTC 2024
#46652: Add "template_loaded" action after a template has been included as part of
the template hierarchy
-----------------------------------------------+---------------------------
Reporter: adamtomat315 | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting
| Review
Component: Bootstrap/Load | Version: 5.1
Severity: normal | Resolution:
Keywords: reporter-feedback has-patch close | Focuses:
-----------------------------------------------+---------------------------
Changes (by jorbin):
* keywords: reporter-feedback has-patch => reporter-feedback has-patch
close
Comment:
Sorry it's taken so long for someone to come back to this @adamtomat315.
The bootstrap process is over once the template is included and it's now
in a theme's hand. If you are trying to load something after, then it
seems like the shutdown handler makes sense since that is essentially the
same thing as an action that runs after including a template.
I think this should be closed as `wontfix`
--
Ticket URL: <https://core.trac.wordpress.org/ticket/46652#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list