do_action( 'groups_demote_member', int $group_id, int $user_id )

Fires before the demotion of a user to ‘member’.

Description

Parameters

$group_id

ID of the group being demoted in.

$user_id

ID of the user being demoted.

Source

File: bp-groups/bp-groups-functions.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.