Browse: Home / Functions /

learndash_payment_buttons_shortcode

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

$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 #

File: includes/shortcodes/ld_payment_buttons.php


Changelog #

Changelog
Version Description
2.1.0 Introduced.