data->user_pass, $user->ID)) { $errors[] = "Your current password is incorrect."; } if (empty($new_password)) { $errors[] = "Please enter a new password."; } elseif (strlen($new_password) < 8) { $errors[] = "New password must be at least 8 characters long."; } if ($new_password !== $confirm_password) { $errors[] = "New passwords do not match."; } if (empty($errors)) { wp_set_password($new_password, $user->ID); wp_set_auth_cookie($user->ID); $success_msg = "Your password has been updated."; } } // ------------------------------------------------------------ // Handle account deletion // ------------------------------------------------------------ if (isset($_POST['sev_delete_account'])) { $confirm_text = trim($_POST['sev_delete_confirm'] ?? ""); $delete_password = $_POST['sev_delete_password'] ?? ""; if ($confirm_text !== $user->user_login) { $errors[] = "The confirmation text does not match your username. Account not deleted."; } if (empty($delete_password)) { $errors[] = "Please enter your password to confirm account deletion."; } elseif (!wp_check_password($delete_password, $user->data->user_pass, $user->ID)) { $errors[] = "Your password is incorrect."; } if (empty($errors)) { require_once ABSPATH . 'wp-admin/includes/user.php'; wp_delete_user($user->ID); wp_redirect(home_url()); exit; } } // ------------------------------------------------------------ // Display Profile Page // ------------------------------------------------------------ ob_start(); ?>

Change Password

Delete Account


Warning: Undefined variable $has_subscription in /home/prep4driving.com/testing422.prep4driving.com/wp-content/plugins/login-registration/includes/shortcodes/user-profile.php on line 1
WARNING: Deleting your account is permanent and cannot be undone.
https://testing422.prep4driving.com/invoice/invoice-3246/ 2025-12-11T02:00:16+00:00 https://testing422.prep4driving.com/invoice/invoice-3247/ 2025-12-11T02:00:19+00:00 https://testing422.prep4driving.com/invoice/invoice-3248/ 2025-12-11T02:36:02+00:00 https://testing422.prep4driving.com/invoice/invoice-3249/ 2025-12-11T02:38:28+00:00 https://testing422.prep4driving.com/invoice/invoice-3313/ 2025-12-11T04:19:19+00:00 https://testing422.prep4driving.com/invoice/invoice-3317/ 2025-12-11T04:20:52+00:00 https://testing422.prep4driving.com/invoice/invoice-3318/ 2025-12-11T04:21:02+00:00 https://testing422.prep4driving.com/invoice/invoice-3339/ 2025-12-11T04:52:00+00:00 https://testing422.prep4driving.com/invoice/invoice-3340/ 2025-12-11T04:53:21+00:00 https://testing422.prep4driving.com/invoice/invoice-3341/ 2025-12-11T04:58:37+00:00 https://testing422.prep4driving.com/invoice/invoice-3342/ 2025-12-11T04:59:16+00:00 https://testing422.prep4driving.com/invoice/invoice-3343/ 2025-12-11T04:59:21+00:00 https://testing422.prep4driving.com/invoice/invoice-3344/ 2025-12-11T05:02:16+00:00 https://testing422.prep4driving.com/invoice/invoice-3349/ 2025-12-11T05:15:38+00:00 https://testing422.prep4driving.com/invoice/invoice-3490/ 2025-12-11T08:07:48+00:00 https://testing422.prep4driving.com/invoice/invoice-3543/ 2025-12-11T23:57:29+00:00