Hi,
Yes, there is an easy way to do this.
1. Get the User ids of the students who you want to bypass the Drip Feed. for example: 111,112,113,114 (4 students), grab user_ids from WP Admin -> Users
2. Get the Unit Ids of all the units in the course. for example : 1111,1112,1113,1114,1115 (5 units), grab unit ids from WP Admin -> LMS -> Units
3. Go to WP Admin -> Plugins -> editor -> WPLMS Customizer -> customizer_class.php
4. Add following line in__construct function :
PHP Code:
add_filter('wplms_drip_value',array($this,'wplms_bypass_drip_unit_user'),10,2);
5. Add the following function in the class :
PHP Code:
function wplms_bypass_drip_unit_user($expiry,$unit_id){
$user_ids = array(111,112,113,114);
$unit_ids = array(1111,1112,1113,1114,1115);
if(in_array($unit_id,$unit_ids)){
$user_id = get_current_user_id();
if(in_array($user_id,$user_ids))
return $time(); // This will bypass the drip feed for following users for following units.
}
return $expiry;
}