Multiple Names for One Hook
|Reported by:||dcole07||Owned by:||dcole07|
WordPress should be able to process more than one hook name at a single location. I know there shouldn't be a big need for it, but it helps if hook names are changed or if a 3rd party wants two hook names to be applies to the same location.
What if I wanted to attach a function to thematic_header, hybrid_header, prodigy_header, and theme_header. It's the same location in different themes. It'd be nice to tell WordPress these are the same, rather than defining 5 add_actions for each function you attach.
I'm willing to work on this enhancement. do_action and apply_filters would need to be modified and a new function would need to be created (What to call it?).
Change History (12)
- Keywords dev-feedback 2nd-opinion removed
- Milestone changed from 2.9 to Unassigned
- Resolution set to wontfix
- Status changed from new to closed