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

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

Fires after the connection request accepted email is sent.

Description

Parameters

$initiator_id

ID of the friendship requester.

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

$friend_id

ID of the request recipient.

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.