do_action( 'groups_group_request_managed', int $id, string $request_action, int $membership_id, int $user_id, int $group_id )

Fires before the redirect if a group membership request has been handled.

Description

Parameters

$id

(int) ID of the group that was edited.

$request_action

(string) Membership request action being performed.

$membership_id

(int) The membership ID of the new user; false if rejected.

$user_id

(int) The ID of the requesting user.

$group_id

(int) The ID of the requested group.

Source

File: bp-groups/screens/single/admin/membership-requests.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.