mbr_lms_show_lesson_completion
Usage
This shortcode returns the lesson completion area for a lesson.
Parameters
Parameters | Description |
---|---|
lesson_id | The lesson ID for which the lesson completion area should be displayed. Default: The current lesson ID, if the current page is a lesson. |
Validity
This shortcode is only evaluated for logged in users who also exist as contacts within ActiveCampaign.
In all other cases, including WordPress users with the Administrator role nothing will be returned.
Conditional Branching
This shortcode does NOT support conditional branching with [ELSE_contact].
Nesting
Shortcode nesting is NOT supported.
Examples
- Example 1
- Example 2
Display the lesson completion area if the shortcode is placed on the lesson complete:
[mbr_lms_show_lesson_completion]
Display the lesson completion area if the shortcode is not placed on the lesson complete:
[mbr_lms_show_lesson_completion lesson_id='123']