Skip to:
Content

BuddyPress.org

Opened 9 years ago

Closed 9 years ago

#6562 closed enhancement (fixed)

Introduce new function of BP_Groups_Member "get_is_banned_of()"

Reported by: lenasterg's profile lenasterg Owned by: djpaul's profile djpaul
Milestone: 2.4 Priority: low
Severity: minor Version:
Component: Groups Keywords: has-patch dev-feedback
Cc:

Description

Hi.
I couldn't locate a function which returns the groups from which the user is banned of.
If something like this exists please close the ticket.
The attached patch contain the suggested new function which works similar with the get_is_mod_of() and get_is_admin_of() functions.

Thanks in advance.
Lena

Attachments (1)

get_is_banned_of.patch (3.9 KB) - added by lenasterg 9 years ago.

Download all attachments as: .zip

Change History (3)

#1 @DJPaul
9 years ago

  • Keywords has-patch dev-feedback added
  • Milestone changed from Awaiting Review to 2.4

Haven't looked at patch etc but I took a quick look and can't find an existing function that does something like this, so as we've a start on a patch, should be able to get something in 2.4.

#2 @djpaul
9 years ago

  • Owner set to djpaul
  • Resolution set to fixed
  • Status changed from new to closed

In 10227:

Groups: new function to get groups from which a user is banned.

Fixes #6562

props lenasterg

Note: See TracTickets for help on using tickets.