Hello Team,
We are facing some issues from last updates.
Issue:- Users get removed from the course automatically, What actually happens I don't know but some users from our course automatically get removed from the course. and some remain in the course, even though we don't do anything from our side and the user does not click on "Complete Course" Button.
Please let me know how a user can get removed after placing an order and registered to that course and accessed the course for 3-4 days.
What are the factors that can remove the user from the course? Even we do not remove the user from the course explicitly.
Thanks
Well there can only be two possible scenarios for this :
1. course is getting expired for students /
2. a order placed by student related to that course is getting cancelled somehow .
for second one please try adding this given code in your wplms-customizer.php file in wplms customizer plugin :
add_action('init','remove_cancel_order_course_check');
function remove_cancel_order_course_check(){
$obj = BP_Course_Action::init();
remove_action('woocommerce_order_status_cancelled',array($obj,'bp_course_disable_access'),10,1);
Please check if this code resolves your issue otherwise please share a proper steps to replicate this issue along with site url and admin credentials in a private reply .