Changeset 12741 for trunk/src/bp-groups/bp-groups-functions.php
- Timestamp:
- 10/08/2020 02:31:49 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-groups/bp-groups-functions.php
r12731 r12741 1416 1416 'page' => $page, 1417 1417 ); 1418 $groups = groups_get_groups( $args ); 1419 1420 return array( 'groups' => $groups['groups'], 'total' => groups_get_invite_count_for_user( $user_id ) ); 1418 1419 return groups_get_groups( $args ); 1421 1420 } 1422 1421 … … 1434 1433 } 1435 1434 1436 return count( groups_get_invited_to_group_ids( $user_id ) ); 1435 $invites = groups_get_invites_for_user( $user_id ); 1436 return $invites['total']; 1437 1437 } 1438 1438
Note: See TracChangeset
for help on using the changeset viewer.