llms_is_complete( int $user_id, int $object_id, int $object_type = 'course' )

Checks if user is currently enrolled in cours

Description Description

See also See also

Top ↑

Parameters Parameters


(int) (Required) WP User ID of the user.


(int) (Required) WP Post ID of a Course, Section, or Lesson.


(int) (Optional) Type, either Course, Section, or Lesson.

Default value: 'course'

Top ↑

Return Return

(boolean) Returns true if complete, otherwise false.

Top ↑

Source Source

File: includes/functions/llms.functions.person.php

function llms_is_complete( $user_id, $object_id, $object_type = 'course' ) {
	$s = new LLMS_Student( $user_id );
	return $s->is_complete( $object_id, $object_type );

Top ↑

Changelog Changelog

Version Description
3.3.1 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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