do_action( 'groups_reject_invite', int $user_id, int $group_id, int $inviter_id )

Fires after a user rejects a group invitation.

Description

Parameters

$user_id

ID of the user rejecting the invite.

$group_id

ID of the group being rejected.

$inviter_id

ID of the inviter.

Source

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

Changelog

Changelog
Version Description
BuddyPress 5.0.0 The $inviter_id arg was added. BuddyPress 5.0.0 The $inviter_id arg was added.
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.