bp_add_friend_button( int $potential_friend_id, int|bool $friend_status = false )

Output the Add Friend button.


Description Description

See also See also


Top ↑

Parameters Parameters

$potential_friend_id

(int) (Required) See bp_get_add_friend_button().

$friend_status

(int|bool) (Optional) See bp_get_add_friend_button().

Default value: false


Top ↑

Source Source

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

function bp_add_friend_button( $potential_friend_id = 0, $friend_status = false ) {
	echo bp_get_add_friend_button( $potential_friend_id, $friend_status );
}


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.