off-site course bundle
-
Hi,
Loving the plugin so far, and the customization/fluidity of it all. Top notch!
We are however looking for the ability to add people to certain courses on the website, without them having to do it manually.
Having read your developer notes, I’m sort of confused on a small thing.
Programmatically Enroll Students
https://docs.themeum.com/tutor-lms/developers/programmatically-enroll-students/
Link to https://gist.github.com/sekanderb/cc8a7f942c036ef8f2715242bbdd8e13
Specificallydo_enroll($course_id = 0, $order_id = 0, $user_id = 0)
$course_id and $user_id I understand, straight forward enough, but what would I need to fill in for the $order_id? Can I leave them at 0?
Thanks
- The topic ‘off-site course bundle’ is closed to new replies.