Opened 10 years ago
Closed 10 years ago
#6526 closed enhancement (fixed)
Add $group object to bp_get_group_join_button filter.
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 2.4 | Priority: | low |
Severity: | minor | Version: | 2.0 |
Component: | Groups | 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.
Sure. Go ahead!