learndash_save_user_course_complete learndash_save_user_course_complete( int $user_id ) Saves the date of course completion for a user. ContentsDescription Parameters Source Changelog Related Uses Used By Description # Parameters # $user_id (int) (Optional) User ID. Default 0. Source # File: includes/ld-users.php Changelog # Changelog Version Description 2.3.0 Introduced. Related # Uses # Uses Uses Description includes/ld-groups.php: learndash_update_group_course_user_progress () Update Group User Course progress. includes/ld-groups.php: learndash_is_group_leader_user () Checks if a user has the group leader capabilities. includes/ld-groups.php: learndash_is_group_leader_of_user () Checks whether a group leader is an admin of a user’s group. includes/ld-users.php: learndash_remove_user_quiz_locks () Removes the lock from a quiz for a user. includes/ld-users.php: learndash_course_item_to_activity_sync () Syncs the course date with the user activity. includes/ld-users.php: learndash_quiz_completed Fires after the quiz is marked as complete. includes/ld-reports.php: learndash_reports_get_activity () Queries the user activity for the report. includes/course/ld-course-functions.php: learndash_update_user_activity_meta () Updates the user activity meta. includes/course/ld-course-functions.php: learndash_update_user_activity () Updates the user activity. includes/course/ld-course-progress.php: learndash_is_quiz_notcomplete () Checks whether a quiz is not completed for a user. includes/course/ld-course-progress.php: learndash_process_mark_complete () Updates the user meta with completion status for any resource. Used By # Used By Used By Description includes/admin/class-learndash-admin-groups-users-list.php: Learndash_Admin_Groups_Users_List::on_process_actions_list () includes/admin/class-learndash-admin-user-profile-edit.php: Learndash_Admin_User_Profile_Edit::save_user_profile () Save WP User Profile hook.