learndash_update_completion( int $user_id = null, int $postid = null )
Marks a resource complete.
Description Description
Parameters Parameters
- $user_id
-
(Optional) User ID.
Default value: null
- $postid
-
(Optional) The ID of the resource.
Default value: null
Source Source
File: includes/course/ld-course-progress.php
Changelog Changelog
Version | Description |
---|---|
2.1.0 | Introduced. |