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


Top ↑

Return Return

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


Top ↑

Source Source

File: themes/ld30/includes/helpers.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
3.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.