This hook has been deprecated. BuddyPress 2.5.0 Use the filters in BP_Email. $settings_link argument unset and deprecated instead.
apply_filters( 'friends_notification_new_request_message', string $value , string $initiator_name , string $initiator_link , string $all_requests_link , string $settings_link )
Filters the message for the friend request email.
Description
Parameters
- $value
-
Message to be used in friend request email.
- $initiator_name
-
Name of the person requesting friendship.
- $initiator_link
-
Profile link of person requesting friendship.
- $all_requests_link
-
User's friends request management link.
- $settings_link
-
Removed in 2.5; now an empty string.
Source
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.