Version Added 2.42


Enroll the current user in a LearnDash course.

Shortcode Examples

[memb_learndash_course_enroll course_id=123]

Shortcode Parameters

course_id:  The ID# of the course to enroll the user in.

Shortcode Attributes

Conditional: No (?)
Nestable: No (?)
Accepts formatting: No (?)
Capturable: No (?)


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.

ActiveCampaign Shortcode Documentation

Looking for info on the ActiveCampaign version of this shortcode?

Click Here to View the ActiveCampaign Shortcode Documentation

  • Was this Helpful?
  • YesNo