do_action( 'groups_promote_member', int $group_id, int $user_id, string $status )

Fires before the promotion of a user to a new status.

Description

Parameters

$group_id

(int) ID of the group being promoted in.

$user_id

(int) ID of the user being promoted.

$status

(string) New status being promoted to.

Source

File: bp-groups/bp-groups-functions.php

Changelog

Changelog
Version Description
BuddyPress 1.6.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.