learndash_visitor_check_shortcode

learndash_visitor_check_shortcode( array $atts,  string $content = '' )

Builds the visitor shortcode output.


Description #


Parameters #

$atts

(array) (Required) An array of shortcode attributes.

  • 'course_id'
    (int) Optional. Course ID. Default current course ID.
  • 'content'
    (string) Optional. The shortcode content. Default empty
  • 'autop'
    (boolean) Optional. Whether to replace linebreaks with paragraph elements. Default true.

$content

(string) (Optional) The shortcode content.

Default value: ''


Return #

(string) The visitor shortcode output.


Source #

File: includes/shortcodes/ld_visitor.php


Changelog #

Changelog
Version Description
2.1.0 Introduced.