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

Builds the ld_course_resume shortcode output.

Description #

Parameters #


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

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

Default value: array()


(string) (Optional) The shortcode content.

Default value: ''

Return #

(string) The ld_course_resume shortcode output.

Source #

File: includes/shortcodes/ld_course_resume.php

Changelog #

Version Description
3.1.4 Introduced.