How to Enroll user in Course using a function.
-
I am Writing a Plugin to Enroll user into a course based on Some custom condition I am using Sensei_Utils::user_start_course($user_id, WCAG_COURSE_ID); this function is running smoothly but when I check Course Detail I see that User is only added to course and no enrolled , I checked the documentation but Can’t find the exact code or function to do this.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- You must be logged in to reply to this topic.