do_action( 'groups_banned_member', int $user_id, int $id )

Fires before the redirect after a group member has been banned.

Description

Parameters

$user_id

(int) ID of the user being banned.

$id

(int) ID of the group user is banned from.

Source

File: bp-groups/screens/single/admin/manage-members.php

Changelog

Changelog
Version Description
BuddyPress 1.0.0 Introduced.

Questions?

We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.