How to add an `Add Friend` button in a custom templates? Copy the codes below. How to get the total friends count? Read more here https://buddypress.wp-a2z.org/oik_api/friends_get_total_friend_count/. How to get the total friend requests count? Read more articles below. bp_friend_total_requests_count – https://buddypress.wp-a2z.org/oik_api/bp_friend_total_requests_count/ bp_friend_get_total_requests_count – https://buddypress.wp-a2z.org/oik_api/bp_friend_get_total_requests_count/ How to remove `Add Friend` button in Buddypress pages. Active menu […]
How to create a new Buddypress menu item in profile page?
Copy this code to your functions.php file