[memb_lms_mark_complete]

Description

Outputs the lesson completion button, wired to the AJAX handler with a lesson-complete nonce. The template receives the lesson's current completion state so it can render the appropriate button variant.

Only renders on lesson posts, for logged-in enrolled users.

The HTML this shortcode renders comes from a template you can override in your theme. See Shortcode Templates.

Shortcode Examples

[memb_lms_mark_complete]

Shortcode Parameters

This shortcode accepts no parameters.

Shortcode Attributes

Attribute Value
Conditional No
Nestable No
Accepts formatting No

Hooks

wpal/torii/sushi_lms/mark_complete_button_before and mark_complete_button_after (actions) wrap the button output.