learndash_course_progress

learndash_course_progress( array $atts )

Builds the learndash_course_progress shortcode output.


Description #


Parameters #

$atts

(array) (Required) An array of shortcode attributes.

  • 'course_id'
    (int) Optional. Course ID. Default 0.
  • 'user_id'
    (int) Optional. User ID. Default 0.
  • 'array'
    (boolean) Optional. Whether to return array. Default false.


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.