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

(string) Message to be used in friend request email.

$initiator_name

(string) Name of the person requesting friendship.

$initiator_link

(string) Profile link of person requesting friendship.

$all_requests_link

(string) User's friends request management link.

$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.