How to Remove Howdy From Admin Bar or Change to Welcome




How to Remove Howdy From Admin Bar or Change to Welcome

How to Remove Howdy From Admin Bar or Change to Welcome

Do you know howdy text meaning? HOWDY means "How Do You Do?" Add the following code to the functions.php file to remove howdy from admin bar

Do you know howdy text meaning? HOWDY means "How Do You Do?" You will get this howdy text at the WordPress admin bar as default. As a WordPress developer or blogger, you have the right to remove or change the howdy text with any custom welcome message for the admin users.

WordPress Change Howdy to Welcome

If you want to change Howdy to Welcome on your site, just Add the following code to the functions.php file of your WordPress theme.

function change_howdy($translated, $text, $domain) {
    if (false !== strpos($translated, 'Howdy'))
    return str_replace('Howdy', 'Welcome', $translated);
    return $translated;
}
add_filter('gettext', 'change_howdy', 10, 3);

Remove howdy from admin bar

If you want to remove howdy from the admin bar just Add the following code to the functions.php file of your WordPress theme. It will Remove howdy from the admin bar. 

function change_howdy( $wp_admin_bar ) {
 $my_account=$wp_admin_bar->get_node('my-account');
 $newtitle = str_replace( 'Howdy,', '', $my_account->title ); 
 $wp_admin_bar->add_node( array(
 'id' => 'my-account',
 'title' => $newtitle,
 ) );
}
add_filter( 'admin_bar_menu', 'change_howdy',25 );

If you need the howdy text back, You should delete the code snippets from your functions.php file.

Recommended: Change WordPress Login Logo, URL, and Title to make your WordPress blog professional.

Masum Billah

Authored By Masum Billah

I am Masum Billah, a knowledgeable and qualified blogger. Here you can see my skills which give you brief ideas on understanding all the concepts with different themes. I adore writing a blog on many topics, like Search Engine Optimization, Digital Marketing, Social Media marketing, How to Blog, etc.


Search Free SEO Tools

Download SEO Tools Android App

Recent Posts