learndash_get_course_url

learndash_get_course_url( int|null $id = null )

Gets the course permalink.


Description #


Parameters #

$id

(int|null) (Optional) The ID of the resource like course, topic, lesson, quiz, etc.

Default value: null


Return #

(string) The course permalink.


Source #

File: includes/course/ld-course-progress.php


Changelog #

Changelog
Version Description
2.1.0 Introduced.