#17594 closed enhancement (wontfix)
Add pre_get_home_url hook for plugins
Reported by: | technosailor | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 3.2 |
Component: | General | Keywords: | has-patch reporter-feedback |
Focuses: | Cc: |
Description
We need to allow plugins to "do stuff" in pre_get_home_url. In profiling today, we wrote some code that, if we have this hook, would allow a reduction of computations from x (in our case, 4000) down to 1 using a pseudo-cache technique.
While that code isn't core-worthy, having a hook to allow plugin modification would incredibly enhance the ability to make WP more efficient on scale.
Attachments (1)
Change History (5)
Note: See
TracTickets for help on using
tickets.
adds pre_get_home_url action.