/** * 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 email_blacklist 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."); } }); Accounting Services for Startups | EaseUp EaseU..

Accounting Services for Startups | EaseUp

EaseUp's accounting services for startups will help you realize the full potential of your business. Our knowledgeable staff specializes in offering complete financial solutions that are customized to meet the particular requirements of SMEs, tech enterprises, and startups. Let us take care of the numbers so you can concentrate on growing your company and simplify your financial procedures and compliance. We can help you with everything from tax planning to bookkeeping. Put your trust in EaseUp for dependable, effective, and affordable bookkeeping services that boost your startup's performance.

https://easeupnow.com/accounting-services/