do_action( 'groups_invite_user', array $r, int|bool $created )

Fires after the creation of a new group invite.

Description

Parameters

$r

(array) Array of parsed arguments for the group invite.

$created

(int|bool) The ID of the invitation or false if it couldn't be created.

Source

File: bp-groups/bp-groups-functions.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.