This hook has been deprecated. BuddyPress 2.5.0 Use the filters in BP_Email instead.

do_action( 'bp_groups_sent_membership_approved_email', int $requesting_user_id, string $email_subject, string $email_content, int $group_id )

Fires after the notification is sent that a membership has been approved.

Description

Parameters

$requesting_user_id

(int) ID of the user whose membership was approved.

$email_subject

(string) Email notification subject text.

$email_content

(string) Email notification message text.

$group_id

(int) ID of the group that was joined.

Source

File: bp-core/deprecated/buddypress/2.5.php

Changelog

Changelog
Version Description
BuddyPress 1.5.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.