This hook has been deprecated. BuddyPress 2.5.0 Use the filters in BP_Email instead.

do_action( 'bp_friends_sent_request_email', int $friend_id, string $email_subject, string $email_content, int $friendship_id, int $initiator_id )

Fires after the new friend request email is sent.

Description

Parameters

$friend_id

ID of the request recipient.

$email_subject

Text for the friend request subject field.

$email_content

Text for the friend request message field.

$friendship_id

ID of the friendship object.

$initiator_id

ID of the friendship requester.

Source

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

Changelog

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.