learndash_ld_group_check_shortcode( array $atts, string $content = null )
Builds the ld_group
shortcode output.
Contents
Description #
Shortcode to display content to users that have access to current group id.
Parameters #
- $atts
-
(array) (Required) An array of shortcode attributes.
- 'group_id'
(int) Course ID. - 'user_id'
(int) User ID. - 'content'
(string) The shortcode content. - 'autop'
(boolean) Whether to replace linebreaks with paragraph elements.
- 'group_id'
- $content
-
(string) (Optional) The shortcode content.
Default value: null
Return #
(string) The ld_group
shortcode output.
Source #
Changelog #
Version | Description |
---|---|
2.3.0 | Introduced. |