Browse: Home / Functions /

ld_quiz_complete_shortcode

ld_quiz_complete_shortcode( array $atts = array(),  string $content = '' )

Builds the [ld_quiz_complete] shortcode output.


Description #


Parameters #

$atts

(array) (Optional) An array of shortcode attributes.

  • 'course_id'
    (int) Course ID. Default 0.
  • 'quiz_id'
    (int) Quiz ID. Default 0.
  • 'user_id'
    (int) User ID. Default current user ID.

Default value: array()

$content

(string) (Optional) The shortcode content.

Default value: ''


Return #

(string) The ld_quiz_complete shortcode output.


Source #

File: includes/shortcodes/ld_quiz_complete.php


Changelog #

Changelog
Version Description
3.1.4 Introduced.