learndash_user_course_points_shortcode

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

Builds the ld_user_course_points shortcode output.


Description #


Parameters #

$atts

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

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

$content

(string) (Optional) Shortcode content.

Default value: ''


Return #

(void|string) The ld_user_course_points shortcode output.


Source #

File: includes/shortcodes/ld_user_course_points.php