do_action( 'friends_friendship_accepted', int $id, int $initiator_user_id, int $friend_user_id, object $friendship )

Fires after a friendship is accepted.


Parameters Parameters

$id

(int) ID of the pending friendship object.

$initiator_user_id

(int) ID of the friendship initiator.

$friend_user_id

(int) ID of the user requested friendship with.

$friendship

(object) BuddyPress Friendship Object.


Source Source

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

View on Trac



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.