Hello,
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_before_every_unit',function($id){
if(!comments_open( $id) ){
$obj = WPLMS_DWQA::init();
remove_action('wplms_after_every_unit',array($obj,'wplms_qna_unit_questions'),10,1);
}
},10,1);
after adding this code. you need to go in every unit one by one and disable the comments from the bottom of the page.
refer:
http://prntscr.com/ng88yn
this is the only option we can refer for now.