Here’s a small WordPress snippet with which you can customize the greeting message seen in the top-right corner of the admin dashboard.
The default text is “Howdy, Username.” Which isn’t something one may find appropriate in a blog. So here’s how you can change it to anything you want.
Add the following code to the theme’s functions.php
file:
function user_greeting($greet_msg) {
$greet_msg = str_replace('Howdy,','Welcome', $greet_msg);
return $greet_msg;
}
add_filter('admin_user_info_links','user_greeting');
Replace “Welcome” with the text you wish to see there.
2 thoughts on “Customize WordPress "Howdy" Greeting in Admin Dashboard”
Thanks mate will try this.BTW awesome theme layout and design.
Thanks buddy! 🙂