Categories
BuddyPress WordPress

BuddyPress how to check friendship status of two users.

$member_friend_status = friends_check_friendship_status( $user1, $user2 );
Categories
BuddyPress WordPress

How to get member id in BuddyPress member loop

$member_id = bp_get_member_user_id();