Browse: Home / Functions /


ld_course_resume_shortcode( array $atts = array(),  string $content = '',  string $shortcode_slug = 'ld_course_resume' )

Builds the [ld_course_resume] shortcode output.

Description #

Parameters #


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

  • 'course_id'
    (int) Course ID. Default 0.
  • 'user_id'
    (int) User ID. Default current user ID.
  • 'label'
    (string) Resume label.
  • 'html_class'
    (string) The resume CSS classes. Default 'ld-course-resume'.
  • 'html_id'
    (string) The value for id HTML attribute.
  • 'button'
    (boolean) Whether to show button. Default true.

Default value: array()


(string) (Optional) The shortcode content.

Default value: ''


(string) (Optional) The shortcode slug.

Default value: 'ld_course_resume'

Return #

(string) The ld_course_resume shortcode output.

Source #

File: includes/shortcodes/ld_course_resume.php

Changelog #

Version Description
3.1.4 Introduced.