Warning: This hook has been deprecated. 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 Description
Parameters 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 Source
File: bp-core/deprecated/2.5.php
Changelog Changelog
Version | Description |
---|---|
2.5.0 | Use the filters in BP_Email. |
1.5.0 | Introduced. |