Hi,
What should i do to make force batch enrollment button disabled by default? Everytime i create a new course, this button is enabled even when there is no batch attached with the course.
screenshot:
https://prnt.sc/nnfmqd
Hi,
Yes we this appears when we create course from backend.
There is not any setting for this .
It does not make sense to us as most of our courses do not come along with batches, we need "force batch enrollment" button to be disabled by default to avoid confusion and preventing end users from starting course (due to enroll to batch button) after purchasing the course.
Hi,
You can use this code to your customizer. This will disable the force enrollment batch from backend course creation.
add_filter('wplms_course_metabox',function($metabox){
$metabox['vibe_force_batch_enrolment']['std']='H';
return $metabox;
},10,1);
Ah it works perfectly, thank you so much Scott!
You may close this topic :)
Ok we are closing this topic .
Thanks for your response.