learndash_delete_user_data learndash_delete_user_data( int|void $user_id ) Deletes the user data. ContentsDescription Parameters Source Changelog Related Uses Used By Description # Fires on delete_user hook. Parameters # $user_id (int|void) (Required) User ID. Source # File: includes/ld-users.php Changelog # Changelog Version Description 2.1.0 Introduced. Related # Uses # Uses Uses Description includes/class-ldlms-db.php: LDLMS_DB::escape_IN_clause_placeholders () Utility function to return the ‘placeholders’ IN clause items. includes/class-ldlms-db.php: LDLMS_DB::escape_IN_clause_values () Utility function to return the ‘values’ IN clause items. includes/ld-users.php: learndash_delete_user_data Fires after deleting user data. 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. includes/ld-reports.php: learndash_report_clear_user_activity_by_types () Clears user actvity by user id and activity type for the report. Used By # Used By Used By Description includes/admin/class-learndash-admin-user-profile-edit.php: Learndash_Admin_User_Profile_Edit::save_user_profile () Save WP User Profile hook.