learndash_visitor_check_shortcode( array $atts, string $content = '' )
Builds the visitor
shortcode output.
Contents
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.
- 'course_id'
- $content
-
(string) (Optional) The shortcode content.
Default value: ''
Return #
(string) The visitor
shortcode output.
Source #
Changelog #
Version | Description |
---|---|
2.1.0 | Introduced. |