learndash_course_progress( array $atts = array(), string $content = '', string $shortcode_slug = 'learndash_course_progress' )
Builds the [learndash_course_progress]
shortcode output.
Description #
Parameters #
- $atts
-
(array) (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
-
(string) (Optional) The shortcode content.
Default value: ''
- $shortcode_slug
-
(string) (Optional) The shortcode slug.
Default value: 'learndash_course_progress'
Return #
(string|array) The learndash_course_progress
shortcode output.
Source #
Changelog #
Version | Description |
---|---|
2.1.0 | Introduced. |