@korsen
4 years, 6 months ago
Hey Guys, it´s me again. Is there a function like bp_is_friend? I want to hide the avatar if the user is not a friend.
@vapvarun
@korsen bp_is_friend( int $user_id ) it is used to check whether a given user is a friend of the logged-in user.
bp_is_friend