Browse: Home / Functions /

learndash_course_progress

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

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

$content

(string) (Optional) The shortcode content.

Default value: ''


Return #

(string|array) The learndash_course_progress shortcode output.


Source #

File: includes/shortcodes/ld_course_progress.php


Changelog #

Changelog
Version Description
2.1.0 Introduced.