apply_filters( 'bp_get_add_friend_button', string $button )

Filters the HTML for the add friend button.

Description

Parameters

$button

(string) HTML markup for add friend button.

Source

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

Changelog

Changelog
Version Description
BuddyPress 1.1.0 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.