Skip to:
Content

BuddyPress.org

Opened 14 years ago

Closed 14 years ago

Last modified 13 years ago

#2629 closed enhancement (wontfix)

bp_has_groups Displaying Groups That User Is Admin Of

Reported by: dimensionmedia's profile dimensionmedia Owned by:
Milestone: 1.5 Priority: normal
Severity: normal Version:
Component: Groups Keywords:
Cc:

Description

It would be useful, along with the other settings you can pass to bp_has_groups, that you could pass a userID that would allow a return of only the groups that the userID is admin of.

Change History (5)

#1 @johnjamesjacoby
14 years ago

Try:

$groups = BP_Groups_Member::get_is_admin_of( $user_id );

#2 @DJPaul
14 years ago

  • Keywords bp_has_groups removed
  • Milestone changed from 1.3 to Awaiting Review

#3 @cnorris23
14 years ago

Close?

#4 @DJPaul
14 years ago

  • Resolution set to wontfix
  • Status changed from new to closed

Closing old ticket; use get_is_admin_of() as suggested. I don't think this merits its own parameter in bp_has_groups().

#5 @johnjamesjacoby
13 years ago

  • Milestone changed from Awaiting Review to 1.5
  • Severity set to normal

Moving closed ticket out of Awaiting Review.

Note: See TracTickets for help on using tickets.