learndash_get_lesson_progress( array|null $topics = null )
Gets the current lesson progress.
Description Description
Returns stats about a user’s current progress within a lesson.
Parameters Parameters
- $topics
-
(Optional) An array of the topic of the lessons, contextualized for the user's progress.
Default value: null
Return Return
(array) An array of stats including percentage, completed and total
Source Source
File: themes/ld30/includes/helpers.php
Changelog Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |