learndash_update_completion learndash_update_completion( int $user_id = null, int $postid = null ) Marks a resource complete. ContentsDescription Parameters Source Changelog Related Namespace @package Uses Description # Parameters # $user_id (int) (Optional) User ID. Default value: null $postid (int) (Optional) The ID of the resource. Default value: null Source # File: includes/course/ld-course-progress.php Changelog # Changelog Version Description 2.1.0 Introduced. Related # Namespace # global @package # LearnDash / Course Uses # Uses Uses Description includes/course/ld-course-progress.php: learndash_process_mark_complete () Updates the user meta with completion status for any resource.
Uses # Uses Uses Description includes/course/ld-course-progress.php: learndash_process_mark_complete () Updates the user meta with completion status for any resource.