Add this code in WPLMS child theme - functions.php or WPLMS customizer - wplms_customizer.php
STEP 1 : Add a Multi - information field in Course settings metabox
Add thes lines in _construct().
add_filter('wplms_course_metabox',array($this,'wplms_custom_course_details_repeatable'),10,6); add_filter('wplms_course_details_widget',array($this,'wplms_custom_course_details_information'),10,7);
STEP 2 : Display this information in Course details.
add these function after _construct
unction wplms_custom_course_details_repeatable($metabox){ $metabox['vibe_course_details'] = array( 'label' => __('Custom Course details','vibe-customtypes'), // <label> 'desc' => __('custom course details.','vibe-customtypes'), // description 'id' => 'vibe_course_details', // field id and name 'type' => 'repeatable', // type of field 'std' => '' ); return $metabox; } function wplms_custom_course_details_information($details){ $custom_info = vibe_sanitize(get_post_meta(get_the_ID(),'vibe_course_details',false)); $icon=array("icon-plus-1","icon-clock"); $rgLinks = array_combine($custom_info, $icon); if(isset($custom_info) && is_array($custom_info)){ foreach($rgLinks as $k=>$val) { $details[]='<li><i class='.$val.'></i> '.$k.'</li>'; } } return $details; }