[memb_learndash_is_enrolled]

This Applies to

Summary

This shortcode outputs “yes” or “no” depending on whether a member is enrolled in a specified LearnDash course or not.

Shortcode Examples

[memb_learndash_id_enrolled id=123]

If the member is enrolled in the course, the output would look something like this:

 

This is designed to have content surrounding it. You could place this in a table or other format that shows a list of courses with a “yes” or “no” next to each course.

Shortcode Parameters​

id:  The ID# of the course to check if the member is enrolled in

You can find the LearnDash Course ID by opening the course as an admin and looking at the address / URL bar:

Shortcode Attributes

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

  • Was this Helpful?
  • YesNo
9 ways to add more value to your membership site

[memb_learndash_is_enrolled]

This Applies To

Book a Call

Welcome to Memberium!

We are very excited for you to be part of our family. 

We would love to answer any questions that you have!

Please choose the best time for you to get in a call with us. 

For Technical Support, you can contact us at https://memberium.com/support/ or Email us at support@memberium.com.