Keap

[memb_learndash_is_enrolled]

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

Description

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

idThe ID# of the course to check if the member is enrolled in

Shortcode Attributes

ConditionalNo
NestableNo
Accepts formattingNo
CapturableNo