do_action( 'groups_membership_requested', int $requesting_user_id, array $admins, int $group_id, int $request_id )

Fires after the creation of a new membership request.

Description

Parameters

$requesting_user_id

(int) ID of the user requesting membership.

$admins

(array) Array of group admins.

$group_id

(int) ID of the group being requested to.

$request_id

(int) ID of the request.

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.