diff --git a/src/bp-templates/bp-nouveau/includes/groups/template-tags.php b/src/bp-templates/bp-nouveau/includes/groups/template-tags.php
index 4e2028956..22c56c81b 100644
a
|
b
|
function bp_nouveau_groups_manage_members_buttons( $args = array() ) { |
1010 | 1010 | * @param array $buttons The list of buttons. |
1011 | 1011 | * @param int $group The current group object. |
1012 | 1012 | * @param string $type Whether we're displaying a groups loop or a groups single item. |
| 1013 | * @param array $args Button args. |
1013 | 1014 | */ |
1014 | | $buttons_group = apply_filters( 'bp_nouveau_get_groups_buttons', $buttons, $group, $type ); |
| 1015 | $buttons_group = apply_filters( 'bp_nouveau_get_groups_buttons', $buttons, $group, $type, $args ); |
1015 | 1016 | |
1016 | 1017 | if ( ! $buttons_group ) { |
1017 | 1018 | return $buttons; |
diff --git a/src/bp-templates/bp-nouveau/includes/members/template-tags.php b/src/bp-templates/bp-nouveau/includes/members/template-tags.php
index bd578b3bb..00aaad185 100644
a
|
b
|
function bp_nouveau_members_loop_buttons( $args = array() ) { |
470 | 470 | * @param array $buttons The list of buttons. |
471 | 471 | * @param int $user_id The displayed user ID. |
472 | 472 | * @param string $type Whether we're displaying a members loop or a user's page |
| 473 | * @param array $args Button args. |
473 | 474 | */ |
474 | | $buttons_group = apply_filters( 'bp_nouveau_get_members_buttons', $buttons, $user_id, $type ); |
| 475 | $buttons_group = apply_filters( 'bp_nouveau_get_members_buttons', $buttons, $user_id, $type, $args ); |
475 | 476 | if ( ! $buttons_group ) { |
476 | 477 | return $buttons; |
477 | 478 | } |