-
Christina replied to the question Like notifications don't mark read in the forum BuddyBoss Wall 8 years, 3 months ago
I figured out how to stop the like notifications. Here is what worked for me:
function ls_remove_likes_notification() {
$notification_handler = BuddyBoss_Wall_Like_Notification::get_instance();
remove_action( 'bp_activity_add_user_favorite', array( $notification_handler, 'add_like_notification' ), 10 );
}
add_action( 'bp_init', 'ls_remove_likes_notification', 20 );