Browse: Home / Functions / learndash_delete_user_activity learndash_delete_user_activity( int $activity_id ) Deletes the user activity. ContentsDescription Parameters Source Changelog Related Namespace @package Uses Used By Description # Parameters # $activity_id (int) (Optional) Activity ID. Default 0. Source # File: includes/course/ld-activity-functions.php Changelog # Changelog Version Description 2.5.0 Introduced. Related # Namespace # global @package # LearnDash / Activity Uses # Uses Uses Description includes/class-ldlms-db.php: LDLMS_DB::get_table_name () Utility function to return the table name. This is to prevent hard-coding of the table names throughout the code files. Used By # Used By Used By Description includes/ld-groups.php: ld_update_group_access () Updates a user’s group access. includes/course/ld-course-progress.php: learndash_remove_user_quiz_attempt () Removes the quiz attempt meta for a given user.