Browse: Home / Functions /


learndash_payment_buttons_shortcode( array $atts = array(),  string $content = '',  string $shortcode_slug = 'learndash_payment_buttons' )

Builds the [learndash_payment_buttons] shortcode output.

Description #

Parameters #


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

  • 'course_id'
    (int) Course ID. Default 0.

Default value: array()


(string) (Optional) The shortcode content.

Default value: ''


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

Version Description
2.1.0 Introduced.