Integrate BuddyPress follow plugin with WPLMS

BuddyPress Followers plugin :

Adds an easy way to follow various users in your BuddyPress profile.


a. Install the above plugin

b. To disable Follow link below instructor in course page

Paste following code in child theme functions.php file.

function wplms_add_follow_button($meta,$instructor_id){
	$meta .=bp_follow_get_add_follow_button(array('leader_id'=>$instructor_id));
	return $meta;


Leave a Reply

Your email address will not be published. Required fields are marked *