[wp-trac] [WordPress Trac] #21506: Standard Theme Hooks
WordPress Trac
noreply at wordpress.org
Fri Feb 22 18:17:17 UTC 2013
#21506: Standard Theme Hooks
---------------------------+------------------------------
Reporter: mfields | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Bundled Theme | Version:
Severity: normal | Resolution:
Keywords: |
---------------------------+------------------------------
Comment (by zamoose):
When I suggested the THA approach, I thought about trying to organize the
hooks in a manner that would be easily-scannable, thus I tried to make it
read left-to-right, with `[prefix]-[section of template]-[position in
relation to section]`, so you could lump all `header_*` hooks into one
area. `before_header` definitely reads more like plain English, but then
it's easy to mix up with `before_footer`, `before_content`, etc.
Like Chip, though, I'd be happy to have the hooks, regardless of their
hue.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21506#comment:64>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list