Browse: Home / Functions /

ld_course_resume_shortcode

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

Builds the [ld_course_resume] shortcode output.


Description #


Parameters #

$atts

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

$content

(string) (Optional) The shortcode content.

Default value: ''


Return #

(string) The ld_course_resume shortcode output.


Source #

File: includes/shortcodes/ld_course_resume.php


Changelog #

Changelog
Version Description
3.1.4 Introduced.