Please paste this snippets in your wp-admin >> plugins >> editor >> wplms-customizer plugin >> wplms-customizer.php
Or in
Please add this code in your wplms-customizer.php file in wplms customizer plugin by using your FTP/SFTP/cpanel:
add_action('wplms_after_course_description',function(){
global $post;
$post->comment_status='open';
});
add_action('bp_before_course_body',function(){
global $post;
$post->comment_status='open';
});
add_action('wplms_before_start_course',function(){
$course_id = 0;
if(isset($_POST) && isset($_POST['course_id'])){
$course_id = $_POST['course_id'];
}
if(empty($course_id ) && !empty($_COOKIE['course_id'])){
$course_id = $_COOKIE['course_id'];
}
if(!empty($course_id)){
wp_update_post(array('ID'=>$course_id,'comment_status' => 'open'));
}
});
for activity issue please share your site url and admin creds to check it