[memb_is_completed]
Description
Checks course completion via LLMS_Student::is_complete() (course
level). The not attribute inverts the result. Users without a
resolvable ID and missing course IDs render nothing.
Shortcode Examples
[memb_is_completed course_id="123"] congratulations content [/memb_is_completed]
Inverted:
[memb_is_completed course_id="123" not="true"]Still working…[/memb_is_completed]
Shortcode Parameters
course_id
LifterLMS course ID. Required. Default: 0.
user_id
User to check. Default: 0 (current user).
not
Inverts the result. Default: false.
Shortcode Attributes
| Attribute | Value |
|---|---|
| Conditional | Yes |
| Nestable | No |
| Accepts formatting | Yes |