learndash_infobar_shortcode( array $atts = array(), string $content = '', string $shortcode_slug = 'ld_infobar' )
Builds the [ld_infobar]
shortcode output.
Description #
Parameters #
- $atts
-
(array) (Optional) An array of shortcode attributes.
- 'post_id'
(int) ID of the content being displayed. - 'course_id'
(int) ID of the course when $post_id is a step such as a lesson/topic/quiz - 'user_id'
(int) ID of the use
Default value: array()
- 'post_id'
- $content
-
(string) (Optional) The shortcode content.
Default value: ''
- $shortcode_slug
-
(string) (Optional) The shortcode slug.
Default value: 'ld_infobar'
Source #
Changelog #
Version | Description |
---|---|
4.0.0 | Introduced. |