learndash_payment_buttons_shortcode( array $atts = array(), string $content = '', string $shortcode_slug = 'learndash_payment_buttons' )
Builds the [learndash_payment_buttons]
shortcode output.
Description #
Parameters #
- $atts
-
(array) (Optional) An array of shortcode attributes.
- 'course_id'
(int) Course ID. Default 0.
Default value: array()
- 'course_id'
- $content
-
(string) (Optional) The shortcode content.
Default value: ''
- $shortcode_slug
-
(string) (Optional) The shortcode slug.
Default value: 'learndash_payment_buttons'
Return #
(string) Returns the learndash_payment_buttons
shortcode output.
Source #
Changelog #
Version | Description |
---|---|
2.1.0 | Introduced. |