Browse: Home / Functions /

learndash_user_course_points_shortcode

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

Builds the [ld_user_course_points] shortcode output.


Description #


Parameters #

$atts

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

  • 'user_id'
    (int) User ID. Default to current user ID.
  • 'context'
    (string) The shortcode context.

Default value: array()

$content

(string) (Optional) The shortcode content.

Default value: ''


Return #

(void|string) The ld_user_course_points shortcode output.


Source #

File: includes/shortcodes/ld_user_course_points.php