do_action( 'groups_membership_accepted', int $user_id, int $group_id, bool $value )

Fires after a group membership request has been accepted.

Description

Parameters

$user_id

(int) ID of the user who accepted membership.

$group_id

(int) ID of the group that was accepted membership to.

$value

(bool) If membership was accepted.

Source

File: bp-groups/classes/class-bp-groups-invitation-manager.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.