ld_course_resume_shortcode( array $atts = array(), string $content = '', string $shortcode_slug = 'ld_course_resume' )
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()
- 'course_id'
- $content
-
(string) (Optional) The shortcode content.
Default value: ''
- $shortcode_slug
-
(string) (Optional) The shortcode slug.
Default value: 'ld_course_resume'
Return #
(string) The ld_course_resume
shortcode output.
Source #
Changelog #
Version | Description |
---|---|
3.1.4 | Introduced. |