Browse: Home / Functions /

learndash_payment_buttons_shortcode

learndash_payment_buttons_shortcode( array $attr = array(),  string $content = '' )

Builds the [learndash_payment_buttons] shortcode output.


Description #


Parameters #

$attr

(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: ''


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.