[wp-trac] [WordPress Trac] #21062: Add a 'template_file' hook to load_template()
WordPress Trac
wp-trac at lists.automattic.com
Mon Jun 25 05:36:05 UTC 2012
#21062: Add a 'template_file' hook to load_template()
------------------------------------+------------------------------
Reporter: mikeschinkel | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Template | Version: 3.4
Severity: normal | Resolution:
Keywords: has-patch dev-feedback |
------------------------------------+------------------------------
Changes (by mikeschinkel):
* cc: mikeschinkel@… (added)
Comment:
Replying to [comment:4 scribu]:
> If the purpose is logging, a do_action() would suffice, no?
Logging is one purpose, but as stated above I could easily see wanting to
change the directory from which a template file is loaded so make it a
filter since an action would have effectively the same overhead.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21062#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list