learndash_course_expire_status_shortcode( array $atts = array(), string $content = '', string $shortcode_slug = 'ld_course_expire_status' )
Builds the [ld_course_expire_status]
shortcode output.
Description #
Parameters #
- $atts
-
(array) (Optional) An array of shortcode attributes.
- 'course_id'
(int) Course ID. Default current course ID. - 'user_id'
(int) User ID. Default current user ID. - 'format'
(string) The date format. Default value of date_format option. - 'autop'
(boolean) Whether to replace line breaks with paragraph elements. Default true. - 'label_before'
(string) The content to print before label. Default a translatable string. - 'label_after'
(string) The content to print after label. Default a translatable string.
Default value: array()
- 'course_id'
- $content
-
(string) (Optional) The shortcode content.
Default value: ''
- $shortcode_slug
-
(string) (Optional) The shortcode slug.
Default value: 'ld_course_expire_status'
Return #
(string) The ld_course_expire_status
shortcode output.
Source #
Changelog #
Version | Description |
---|---|
2.1.0 | Introduced. |