llms_is_complete( int $user_id, int $object_id, int $object_type = 'course' )
Checks if the given object is complete for the given student
Description Description
See also See also
- LLMS_Student->is_complete()
Parameters Parameters
- $user_id
-
(int) (Required) WP User ID of the user
- $object_id
-
(int) (Required) WP Post ID of a Course, Section, or Lesson
- $object_type
-
(int) (Optional) Type, either Course, Section, or Lesson
Default value: 'course'
Return Return
(bool) true if complete, false otherwise
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 ); }
Expand full source code Collapse full source code View on GitHub
User Contributed Notes User Contributed Notes
Permalink: