bp_member_add_friend_button()

Output the “Connect” button in the member loop.

Description

Source

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

function bp_member_add_friend_button() {
	bp_add_friend_button( bp_get_member_user_id() );
}

Changelog

Changelog
Version Description
BuddyPress 1.2.6 Introduced.

Questions?

We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.