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.


Parameters Parameters

$id

ID of the pending friendship connection.

$initiator_user_id

ID of the friendship initiator.

$friend_user_id

ID of the friend user.

$friendship

BuddyPress Friendship Object.


Top ↑

Source Source

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


Top ↑

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