Version Added 2.42


Remove the member from a LearnDash course.

Shortcode Examples

[memb_learndash_course_unenroll course_id=123]

Shortcode Parameters

course_id:  The ID# of the course to remove the user from.

Shortcode Attributes

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


Can I unenroll a member who isn’t already enrolled in a course?

Yes, it will not cause any harm or error to un-enroll a student who is not 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