Skip to main content

mbr_lms_show_quiz_attempts_counter

Usage​

This shortcode returns the lesson completion area for a lesson.

Parameters​

ParametersDescription
quiz_idThe quiz ID for which the amount of attempts should be displayed.
Default: none.
Required: yes
lesson_idThe related lesson ID for the quiz.
Default: none.
Required: yes. No, if the shortcode is placed on the lesson for which the attempts should be displayed.

Validity​

This shortcode is only evaluated for logged in users.

Conditional Branching​

This shortcode does NOT support conditional branching with [ELSE_contact].

Nesting​

Shortcode nesting is NOT supported.

Examples​

Display the quiz attempts counter if the shortcode is placed on a the lesson for which the quiz' attempts should be displayed:

[mbr_lms_show_quiz_attempts_counter quiz_id='123']