learndash_ld_group_check_shortcode( array $atts,  string $content = null )

Builds the ld_group shortcode output.

Description #

Shortcode to display content to users that have access to current group id.

Parameters #


(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.


(string) (Optional) The shortcode content.

Default value: null

Return #

(string) The ld_group shortcode output.

Source #

File: includes/shortcodes/ld_group.php

Changelog #

Version Description
2.3.0 Introduced.