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

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

Description

Parameters

$user_id

(int) ID of the user being demoted.

$id

(int) ID of the group user is demoted within.

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.