do_action( "friends_friendship_{$action}", int $id, int $initiator_user_id, int $friend_user_id, object $friendship )

Fires at the end of initiating a new friendship connection.

Description Description

This is a variable hook, depending on context. The two potential hooks are: friends_friendship_requested, friends_friendship_accepted.

Top ↑

Parameters Parameters


(int) ID of the pending friendship connection.


(int) ID of the friendship initiator.


(int) ID of the friend user.


(object) BuddyPress Friendship Object.

Source Source

File: bp-friends/bp-friends-functions.php

View on Trac

Top ↑

Changelog Changelog

Version Description
1.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.