[buddypress-trac] [BuddyPress Trac] #6562: Introduce new function of BP_Groups_Member "get_is_banned_of()"

buddypress-trac noreply at wordpress.org
Wed Jul 22 12:24:05 UTC 2015


#6562: Introduce new function of  BP_Groups_Member  "get_is_banned_of()"
--------------------------------+-----------------------------
 Reporter:  lenasterg           |      Owner:
     Type:  enhancement         |     Status:  new
 Priority:  low                 |  Milestone:  Awaiting Review
Component:  Component - Groups  |    Version:
 Severity:  minor               |   Keywords:
--------------------------------+-----------------------------
 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 [https://buddypress.trac.wordpress.org/browser/trunk/src/bp-
 groups/classes/class-bp-groups-member.php#L603 get_is_mod_of()] and
 [https://buddypress.trac.wordpress.org/browser/trunk/src/bp-groups/classes
 /class-bp-groups-member.php#L561 get_is_admin_of()] functions.

 Thanks in advance.
 Lena

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6562>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list