Browse: Home / Functions /


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

Builds the [ld_user_course_points] shortcode output.

Description #

Parameters #


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


(string) (Optional) The shortcode content.

Default value: ''


(string) (Optional) The shortcode slug.

Default value: 'ld_user_course_points'

Return #

(void|string) The ld_user_course_points shortcode output.

Source #

File: includes/shortcodes/ld_user_course_points.php