bp_friends_sent_request_email, $tokens[friend.id], $email_subject, $email_content, $tokens[friendship.id], $tokens[initiator.id]
bp_friends_sent_request_email, $tokens[friend.id], $email_subject, $email_content, $tokens[friendship.id], $tokens[initiator.id]
Appears in: buddypress.14.5.2
Hook Type: action
Displaying hooks found in version: buddypress.14.5.2do_action('bp_friends_sent_request_email, $tokens[friend.id], $email_subject, $email_content, $tokens[friendship.id], $tokens[initiator.id]') is found 1 times:
- /bp-core/deprecated/2.5.php line 814
* @param string $email_content Text for the friend request message field. * @param int $friendship_id ID of the friendship object. * @param int $initiator_id ID of the friendship requester. */ do_action( 'bp_friends_sent_request_email', $tokens['friend.id'], $email_subject, $email_content, $tokens['friendship.id'], $tokens['initiator.id'] ); } elseif ( $email_type === 'friends-request-accepted' ) { /** * Fires after the friend request accepted email is sent. * * @since 1.5.0