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

$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'


Top ↑

Return Return

(boolean) Returns true if complete, otherwise false.


Top ↑

Source Source

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

 * @param int $object_type  Type, either Course, Section, or Lesson.
 * @return bool Returns `true` if complete, otherwise `false`.
 */
function llms_is_complete( $user_id, $object_id, $object_type = 'course' ) {


Top ↑

Changelog 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.