Ticket #716 (closed enhancement: fixed)
add actions before/after template load
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.0 |
| Component: | Back-end | Version: | 0.8.2.1 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
It would be really nice to have actions (pre/post) possible for each template load (before/after the include). This would allow plugin authors to insert content before or after each page as desired without end-users having to hack the templates.
For example there is no method to inject additional fields into the edit-form and post-form templates (without using javascript manipulations since the form has been closed).
Change History
This could allow plugin devs to make a lot of mess in themes.
I'm not sure it's a good idea. I'd rather address the problems that we can identify as fixable, and add filters for them. I'm tempted to "wontfix" this ticket, and open new cases of filter/action requirements on a needs basis.
- Milestone changed from 0.9 to 1.0-beta & XML-RPC
Moving to 1.0-beta to allow for further discussion. This won't make it into 0.9
- Status changed from new to closed
- Resolution set to fixed
Actually, the form is open when 'post_form' is called.
http://trac.bbpress.org/browser/trunk/bb-includes/template-functions.php#L163