This hook has been deprecated. BuddyPress 2.5.0 Use the filters in BP_Email instead.
do_action( 'bp_groups_sent_membership_request_email', int $admin_id , string $email_subject , string $email_content , int $requesting_user_id , int $group_id , int $membership_id )
Fires after the notification is sent that a member has requested group membership.
Description
Parameters
- $admin_id
-
ID of the group administrator.
- $email_subject
-
Email notification subject text.
- $email_content
-
Email notification message text.
- $requesting_user_id
-
ID of the user requesting membership.
- $group_id
-
ID of the group receiving membership request.
- $membership_id
-
ID of the group membership object.
Source
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.