This Applies to
OTHER DOCS Available
Enroll the current user in a LearnDash course.
course_id: The ID# of the course to enroll the user in.
Can I enroll a member who is already enrolled in a course?
Yes, it will not cause any harm or error to re-enroll a student who is already enrolled.