Opened 12 years ago
Closed 12 years ago
#6024 closed enhancement (no action required)
Allow plugins to filter selected template for bp-legacy AJAX requests
| Reported by: | dcavins | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Core | Version: | |
| Severity: | minor | Keywords: | |
| Cc: |
Description
While trying to simplify the way a plugin worked, I needed to be able to filter the template used by bp-legacy for AJAX responses. This patch adds filtering for all the things.
Attachments (1)
Change History (7)
#1
@
12 years ago
What do these filters do that can't be done with the more generic 'bp_get_template_part'?
#3
@
12 years ago
I made this change while trying to simplify Invite Anyone (trying to use filters and actions to overload the default invites template in this post-theme-compat world). And there was a reason that filtering 'bp_get_template_part' wasn't up to scratch... let me look back at my notes and see if I can remember what the problem was.
Sorry for not describing the problem I was intending to fix as part of the original ticket description.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Allow plugins to filter bp-legacy AJAX template selection.