[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 20:10:27 UTC 2009
#11242: Add "template_include" action to be run just before templates are included
------------------------------------+---------------------------------------
Reporter: holizz | Owner: westi
Type: enhancement | Status: reopened
Priority: normal | Milestone: Future Release
Component: Plugins | Version:
Severity: normal | Resolution:
Keywords: has-patch dev-feedback |
------------------------------------+---------------------------------------
Comment(by Denis-de-Bernardy):
Replying to [comment:7 harrym]:
> @Denis:
>
> I'm afraid that doesn't work either. template_redirect isn't called when
templates are included using load_template() in wp-include/theme.php.
>
> We really have thought about this!
the again, those (when used) have stuff like:
{{{
do_action( 'get_header', $name );
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11242#comment:11>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list