ld_quiz_complete_shortcode( array $atts = array(), string $content = '', string $shortcode_slug = 'ld_quiz_complete' )
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()
- 'course_id'
- $content
-
(string) (Optional) The shortcode content.
Default value: ''
- $shortcode_slug
-
(string) (Optional) The shortcode slug.
Default value: 'ld_quiz_complete'
Return #
(string) The ld_quiz_complete
shortcode output.
Source #
Changelog #
Version | Description |
---|---|
3.1.4 | Introduced. |