Browse: Home / Functions /


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

Builds the [ld_quiz_complete] shortcode output.

Description #

Parameters #


(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()


(string) (Optional) The shortcode content.

Default value: ''


(string) (Optional) The shortcode slug.

Default value: 'ld_quiz_complete'

Return #

(string) The ld_quiz_complete shortcode output.

Source #

File: includes/shortcodes/ld_quiz_complete.php

Changelog #

Version Description
3.1.4 Introduced.