This hook has been deprecated. BuddyPress 2.5.0 Use the filters in BP_Email instead.
do_action( 'bp_groups_sent_promoted_email', int $user_id , string $email_subject , string $email_content , int $group_id )
Fires after the notification is sent that a member has been promoted.
Description
Parameters
- $user_id
-
ID of the user who was promoted.
- $email_subject
-
Email notification subject text.
- $email_content
-
Email notification message text.
- $group_id
-
ID of the group that the user is a member of.
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.