learndash_course_progress( array $atts = array(), string $content = '' )
Builds the [learndash_course_progress] shortcode output.
Description Description
Parameters Parameters
- $atts
-
(Optional) An array of shortcode attributes.
- 'course_id'
(int) Course ID. Default 0. - 'user_id'
(int) User ID. Default 0. - 'array'
(boolean) Whether to return array. Default false.
Default value: array()
- 'course_id'
- $content
-
(Optional) The shortcode content.
Default value: ''
Return Return
(array) The learndash_course_progress shortcode output.
Source Source
File: includes/shortcodes/ld_course_progress.php
Changelog Changelog
| Version | Description |
|---|---|
| 2.1.0 | Introduced. |