diff --git src/bp-groups/bp-groups-template.php src/bp-groups/bp-groups-template.php
index 854143c..583da8b 100644
|
|
function bp_group_join_button( $group = false ) { |
3433 | 3433 | * @since BuddyPress (1.2.6) |
3434 | 3434 | * |
3435 | 3435 | * @param string $button HTML button for joining a group. |
| 3436 | * @param object $group BuddyPress group object |
3436 | 3437 | */ |
3437 | | return bp_get_button( apply_filters( 'bp_get_group_join_button', $button ) ); |
| 3438 | return bp_get_button( apply_filters( 'bp_get_group_join_button', $button, $group ) ); |
3438 | 3439 | } |
3439 | 3440 | |
3440 | 3441 | /** |