Opened 11 years ago
Closed 11 years ago
#6526 closed enhancement (fixed)
Add $group object to bp_get_group_join_button filter.
| Reported by: | dcavins | Owned by: | dcavins |
|---|---|---|---|
| Priority: | low | Milestone: | 2.4 |
| Component: | Groups | Version: | 2.0 |
| Severity: | minor | Keywords: | has-patch commit |
| Cc: | david.cavins@… |
Description
The only parameter passed along with the bp_get_group_join_button is the button object. It looks like this:
Array
(
[id] => accept_invite
[component] => groups
[must_be_logged_in] => 1
[block_self] =>
[wrapper_class] => private
[wrapper_id] => groupbutton-5
[link_href] => http://commonsdev.local/groups/istanbul-secrets/request-membership
[link_text] => Accept Invitation
[link_title] => Accept Invitation
[link_class] => group-button accept-invite
)
Passing the group object along with the button in the filter would make it much easier to generate new properties for the button.
Attachments (1)
Change History (3)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Sure. Go ahead!