learndash_course_info_shortcode( array $atts = array(), string $content = '', string $shortcode_slug = 'ld_course_info' )
Builds the [ld_course_info]
shortcode output.
Description #
Parameters #
- $atts
-
(array) (Optional) An array of shortcode attributes.
- 'user_id'
(int) User ID. 'SFWD_LMS::get_course_info' for other attributes
Default value: array()
- 'user_id'
- $content
-
(string) (Optional) The shortcode content.
Default value: ''
- $shortcode_slug
-
(string) (Optional) The shortcode slug.
Default value: 'ld_course_info'
Return #
(string) The ld_course_info
shortcode output.
Source #
Changelog #
Version | Description |
---|---|
2.1.0 | Introduced. |