Browse: Home / Functions /

learndash_get_lesson_progress

learndash_get_lesson_progress( array|null $topics = null )

Gets the current lesson progress.


Description #

Returns stats about a user’s current progress within a lesson.


Parameters #

$topics

(array|null) (Optional) An array of the topic of the lessons, contextualized for the user's progress.

Default value: null


Return #

(array) An array of stats including percentage, completed and total


Source #

File: themes/ld30/includes/helpers.php


Changelog #

Changelog
Version Description
3.0.0 Introduced.