learndash_get_course_progress_legacy( int|null $user_id = null, int|null $postid = null, int|null $course_id = null )

LEGACY: Gets the user’s current course progress.


Description Description

Replaced by learndash_get_course_progress in 3.4.0.


Parameters Parameters

$user_id

(Optional) User ID.

Default value: null

$postid

(Optional) Post ID.

Default value: null

$course_id

(Optional) Course ID.

Default value: null


Top ↑

Return Return

(array) An array of user's current course progress.


Top ↑

Source Source

File: includes/course/ld-course-functions-legacy.php



Top ↑

Changelog Changelog

Changelog
Version Description
2.1.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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