learndash_course_expire_status_shortcode

learndash_course_expire_status_shortcode( array $atts,  string $content )

Builds the ld_course_expire_status shortcode output.


Description #


Parameters #

$atts

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

  • 'course_id'
    (int) Optional. Course ID. Default current course ID.
  • 'user_id'
    (int) Optional. User ID. Default current user ID.
  • 'format'
    (string) Optional. The date format. Default value of date_format option.
  • 'autop'
    (boolean) Optional. Whether to replace linebreaks with paragraph elements. Default true.
  • 'label_before'
    (string) Optional. The content to print before label. Default a translatable string.
  • 'label_after'
    (string) Optional. The content to print after label. Default a translatable string.

$content

(string) (Required) The shortcode content.


Return #

(string) The ld_course_expire_status shortcode output.


Source #

File: includes/shortcodes/ld_course_expire_status.php


Changelog #

Changelog
Version Description
2.1.0 Introduced.