If you want to change the appearance of time in course curriculum from

x hours y minutes to x:y then use this tip.

Refer below screenshots :


BEFORE


AFTER


TIP :


1. Go to WP Admin -> Plugins -> Editor -> WPLMS Customizer -> customizer_class.php
2. Add following line of code in _construct function :

PHP Code:

 

add_filter('wplms_curriculum_time_filter',array($this,'wplms_custom_curriculum_time_filter'),2,10);  

 

3. Add following function in class :

PHP Code:

 

function wplms_custom_curriculum_time_filter($html,$min){
  $minutes = $min;
  $hours = '00';
  if($minutes > 60){
    $hours = intval($minutes/60);
    $minutes = $minutes - $hours*60;
  }

 $html = '<span><i class="icon-clock"></i> '.(isset($hours)?sprintf("%02s", $hours):'').' : '.sprintf("%02s", $minutes).'</span>';
  return $html;
}