add_filter('wplms_course_details_widget','wplms_custom_course_details_information', 999, 2);
function wplms_custom_course_details_information($details, $course_id){
$auto_eval = get_post_meta($course_id, 'vibe_course_auto_eval', true);
$course_badge = get_post_meta($course_id, 'vibe_badge', true);
if($auto_eval == 'H' || $course_badge == 'H'){
$details['badge'] = "N.A";
}
return $details;
}
Add the code shared above in wp-admin > Plugins > editor > select wplms customizer plugin > wplms-customizer.php
and check, then do let me know