This hook has been deprecated. BuddyPress 2.5.0 Use the filters in BP_Email. $settings_link argument unset and deprecated instead.

apply_filters_ref_array( 'groups_notification_promoted_member_message', string $value, BP_Groups_Group $group, string $promoted_to, string $group_link, string $settings_link )

Filters the group promotion notification message that will be sent to user.

Description

Parameters

$value

(string) Promotion notification email message text.

$group

(BP_Groups_Group) Object holding the current group instance. Passed by reference.

$promoted_to

(string) Role that the user was promoted to within the group.

$group_link

(string) URL permalink for the group that the promotion was related to.

$settings_link

(string) Removed in 2.5; now an empty string.

Source

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

Changelog

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