Browse: Home / Functions /


learndash_navigation_shortcode( array $atts = array(),  string $content = '',  string $shortcode_slug = 'ld_navigation' )

Builds the [ld_navigation] shortcode output.

Description #

Shortcode that shows the course navigation for previous step, next step, and return to course links.

Parameters #


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

  • 'course_id'
    (int) Course ID. Default false.
  • 'post_id'
    (int) Course Step ID. Default false.
  • 'user_id'
    (int) User ID. Default false.

Default value: array()


(string) (Optional) The shortcode content.

Default value: ''


(string) (Optional) The shortcode slug.

Default value: 'ld_navigation'

Return #

(string) The ld_navigation shortcode output.

Source #

File: includes/shortcodes/ld_navigation.php

Changelog #

Version Description
4.0.0 Introduced.