[memb_lms_resume]
Description
For enrolled users, links to the last incomplete lesson so they can pick up where they left off. When the course has no incomplete lessons but the user has a certificate, a certificate link renders instead; with no certificate, nothing renders.
Renders nothing when the course can't be resolved or the user isn't enrolled.
The HTML this shortcode renders comes from a template you can override in your theme. See Shortcode Templates.
Shortcode Examples
[memb_lms_resume]
Explicit course with a custom label:
[memb_lms_resume course_id="123" label="Continue Where You Left Off"]
Shortcode Parameters
course_id
Course ID. When 0, resolved from the current post context (course,
module, or lesson). Default: 0.
label
Button label override. Default: '' (template default).
class
Extra CSS classes appended to the button. Default: ''.
Shortcode Attributes
| Attribute | Value |
|---|---|
| Conditional | No |
| Nestable | No |
| Accepts formatting | No |
Hooks
wpal/torii/sushi_lms/resume_button_before and
resume_button_after (actions) wrap the button output.