Remove information from Course details section

#1 Remove Course Price

0. Install the WPLMS Customizer plugin
1. Go to following location : Wp admin -> Plugins -> editor -> wplms customizer -> customizer_class.php
2. Add the following line in the _construct function:

add_filter('wplms_course_details_widget',array($this,'custom_wplms_course_details_widget'));

3. Now add the following function in the class:

function custom_wplms_course_details_widget($course_details){
$key = 'price'; // Set $key value from price,precourse,time,level,seats,badge,certificate
unset($course_details[$key]);
return $course_details;
}

#2 Remove Course Duration

0. Install the WPLMS Customizer plugin
1. Go to following location : Wp admin -> Plugins -> editor -> wplms customizer -> customizer_class.php
2. Add the following line in the _construct function:

add_filter('wplms_course_details_widget',array($this,'remove_wplms_course_details_widget'));

3. Now add the following function in the class:

function remove_wplms_course_details_widget($course_details){
$key = 'time'; // Set $key value from price,precourse,time,level,seats,badge,certificate
unset($course_details[$key]);
return $course_details;
}