How to disable the Drip Feed function??
Check the Course - Settings.
a. Edit the Course in WP Admin and locate the Course settings metabox
or
b. Edit the Course in front end and locate the Course - Settings section
and disable drip feed for your course.
Yes, I know those settings, but I would like to disable Drip Feed for all users in the Front End course creation. So that Instructors can´t even choose that option when creating courses.
Please try adding the given code in your wplms-customizer.php file in wplms-customizer plugin :
add_filter('wplms_course_creation_tabs','remove_drip_for_inst');
function remove_drip_for_inst($settings){
if(!current_user_can('manage_options')){
unset($settings['course_settings']['fields'][10]);
unset($settings['course_settings']['fields'][11]);
unset($settings['course_settings']['fields'][12]);
unset($settings['course_settings']['fields'][13]);
unset($settings['course_settings']['fields'][14]);
return $settings;
}else{
return $settings;
}
}