Description
This event will be triggered when the user is banned.
Params
An array of two items; user id who performed the banning action and the user id which is banned.
Example
/** * @param $adminId admin id who banned the user * @param $userId user id who has been banned */ public function OnAfterBanningUser($adminId, $userId) { //do any operation that you need here with the $adminid and $userid }