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

Fires before a group membership is deleted.

Description

Parameters

$user_id

ID of the user.

$group_id

ID of the group.

Source

File: bp-groups/classes/class-bp-groups-member.php

Changelog

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