BP_Groups_Member::unban()
Unban the user from the group.
Description Description
Return Return
(bool) True on success, false on failure.
Source Source
File: bp-groups/classes/class-bp-groups-member.php
public function unban() { if ( !empty( $this->is_admin ) ) return false; $this->is_banned = 0; return $this->save(); }
Changelog Changelog
Version | Description |
---|---|
1.6.0 | Introduced. |