learndash_is_lesson_notcomplete( int|null $user_id = null, array $lessons = array(), int $course_id )

Checks if a lesson is not complete.


Description Description


Parameters Parameters

$user_id

(Optional) User ID. Defaults to the current logged-in user.

Default value: null

$lessons

(Optional) An array of lesson IDs.

Default value: array()

$course_id

(Optional) Course ID. Default 0.


Top ↑

Return Return

(boolean) Returns true if the lesson is not complete otherwise false.


Top ↑

Source Source

File: includes/course/ld-course-progress.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.