learndash_materials_shortcode_function( array $atts = array(), string $content = '', string $shortcode_slug = 'ld_materials' )
Builds the [ld_materials]
shortcode output.
Description #
Parameters #
- $atts
-
(array) (Optional) An array of shortcode attributes.
- 'post_id'
(int) ID of the post for displaying the materials
Default value: array()
- 'post_id'
- $content
-
(string) (Optional) The shortcode content.
Default value: ''
- $shortcode_slug
-
(string) (Optional) The shortcode slug.
Default value: 'ld_materials'
Return #
(string) The ld_materials
shortcode output.
Source #
Changelog #
Version | Description |
---|---|
4.0.0 | Introduced. |