got this from a google search
function bp_adminbar_currentsite_menu() {
<?php
/*
Plugin Name: BP Nav Bar Mods – Add Link
Plugin URI: https://erikshosting.com
Description: Add A Simple Link To The Buddypress Admin Bar
Author: Erock
Version: 1.0
Author URI: https://erikshosting.com
*/
//Links and Menus Added To The Following Function Are Always Visible On The BP Bar
function bp_adminbar_currentsite_menu() {
global $bp;
?>
-
<!– Insert your link url or relative url, and your link text below –>
Skidl?rarbloggen
<?php
}
// Call The Function Above
add_action(‘bp_adminbar_menus’, ‘bp_adminbar_currentsite_menu’, 999);
?>