In course page, in "activity", how to hide the "subscribe" activity?
In other words, only show msg posted on there, but not showing "student subscribed for xx", "student finished unit", "student started xxx".... something like that
This reply has been marked as private.
Yes that is possible but it will not work for the activities which are already been recorded .
IT will work for future activities after adding this code :
please try adding this given code in your wplms-customizer.php file in wplms customizer plugin :
add_filter('bp_course_record_activity',function ($activity){
if(isset($activity['component']) && $activity['component'] == 'course'){
$activity['hide_sitewide'] = true;
}
return $activity;
});