llms_mark_incomplete( int $user_id, int $object_id, int $object_type, string $trigger = 'unspecified' )

Mark a lesson, section, course, or track as incomplete


Description Description

See also See also


Top ↑

Parameters Parameters

$user_id

(int) (Required) WP User ID.

$object_id

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

$object_type

(int) (Required) Object type [lesson|section|course|track].

$trigger

(string) (Optional) String describing the event that triggered marking the object as incomplete.

Default value: 'unspecified'


Top ↑

Return Return

(boolean)


Top ↑

Source Source

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

 *
 * @param int    $user_id     WP User ID.
 * @param int    $object_id   WP Post ID of the Lesson, Section, Track, or Course.
 * @param string $object_type Object type [lesson|section|course|track].


Top ↑

Changelog Changelog

Changelog
Version Description
3.5.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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