How To hide ‘Howdy’ message from admin dashboard ?

Wordpress has a great deal of hooks in addition to function to help customize most section in site. In case you are wordpress user, you have experienced a message ‘howdy’ in admin leading right side area, in close proximity to ‘logout’ website link. It’s ok. But if we want to remove in which before providing the websote to the client. Put following function within your functions.php of current concept folder. It will replace ‘Howdy’ message with ‘Hello’.


function replace_howdy( $wp_admin_bar ) {


$newtitle = str_replace( 'Howdy,', 'Hello,', $my_account->title );

$wp_admin_bar->add_node( array(

'id' => 'my-account',

'title' => $newtitle,

) );

 add_filter( ‘admin_bar_menu’, ‘replace_howdy’,25 );

Here above, we have used a hook i.e admin_bar_menu . This hooks call when admin yop bar loads.

After loading ,this will call replace_howdy() function and that works to replace .That’s it.