/** * Plugin: Google Login Blacklist Check (MySQLi - Linkeei) * Description: Blocks Google login if email is blacklisted (from DB). * Author: Linkeei Dev */ add_hook('james_hook_before_register', function($data) { global $wo; $marker = $data['marker'] ?? ''; $user = $data['user_data'] ?? []; if ($marker !== 'login-with-google') { return; } $email = strtolower(trim($user['email'] ?? '')); if (empty($email)) { throw new Exception("Login blocked: Email is missing."); } $conn = $wo['sqlConnect']; // Use Linkeei's connection // Escape and prepare the query $email_escaped = mysqli_real_escape_string($conn, $email); $query = "SELECT COUNT(*) as count FROM JAMES_blacklisted_emails WHERE LOWER(email) = LOWER('$email_escaped')"; $result = mysqli_query($conn, $query); if ($result) { $row = mysqli_fetch_assoc($result); if ((int)$row['count'] > 0) { throw new Exception("Login blocked: Your email is blacklisted."); } } else { throw new Exception("Login blocked: DB error."); } }); Symmetry Vascular Center
Symmetry Vascular Center
Symmetry Vascular Center

Symmetry Vascular Center

@symmetry

Symmetry Vascular Treats Patients With Peripheral Arterial Disease (PAD)
We understand that each patient presents unique challenges and needs. At Symmetry Vascular, our goal is to provide the best care possible while minimizing your inconvenience and cost. If surgery is necessary, we are credentialed at Cleveland Clinics Martin Health and St.Lucie Medical Center. https://symmetryvascular.com

Symmetry Vascular Center
Favicon 
symmetryvascular.com

Symmetry Vascular Center

Our Vascular Center Physicians will work directly with you on your vascular health and varicose vein issues at the Symmetry Vascular Center in Stuart Florida.