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

Fires after a user has accepted a group invite.


Parameters Parameters

$user_id

(int) ID of the user who accepted the group invite.

$group_id

(int) ID of the group being accepted to.

$inviter_id

(int) ID of the user who invited this user to the group.


Source Source

File: bp-groups/classes/class-bp-groups-invitation-manager.php

View on Trac



Top ↑

Changelog Changelog

Changelog
Version Description
2.8.0 The $inviter_id arg was added.
1.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.