[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
Tue Nov 24 18:04:44 UTC 2009
#11242: Add "template_include" action to be run just before templates are included
-----------------------------+----------------------------------------------
Reporter: holizz | Owner: westi
Type: enhancement | Status: closed
Priority: normal | Milestone:
Component: Plugins | Version:
Severity: normal | Resolution: wontfix
Keywords: has-patch close |
-----------------------------+----------------------------------------------
Changes (by Denis-de-Bernardy):
* status: reopened => closed
* resolution: => wontfix
Comment:
hook into template_redirect with an extremely low priority (a zillion).
rewrite template_redirect the way you want it. and finish your function
with an exit statement.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11242#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list