I am building a custom Plugin that works with both WooCommerce and SenseiLMS plugin , in the plugin I am usingSensei_Utils::user_start_course($user_id, course_id);
function to add users to a course. While this seems to work it just add the user in course but does not enroll it in the course.
Is there any function other than I am using to actually achieve I can't find the function anywhere , I am searching or surfing through github code for sensei LMS to find the exact function but no luck .