Changeset 8057 for trunk/bp-groups/bp-groups-functions.php
- Timestamp:
- 03/06/2014 02:32:19 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-groups/bp-groups-functions.php
r8056 r8057 664 664 } 665 665 666 /** 667 * Gets the total group invite count for a user. 668 * 669 * @since BuddyPress (2.0.0) 670 * 671 * @param int $user_id The user ID 672 * @return int 673 */ 674 function groups_get_invite_count_for_user( $user_id = 0 ) { 675 if ( empty( $user_id ) ) { 676 $user_id = bp_loggedin_user_id(); 677 } 678 679 return BP_Groups_Member::get_invite_count_for_user( $user_id ); 680 } 681 666 682 function groups_invite_user( $args = '' ) { 667 683
Note: See TracChangeset
for help on using the changeset viewer.