Inspiration For Creative Minds
Home » Labs » How to change the howdy text in WordPress admin bar  

Filed under Labs

Below code will remove the Howdy message from admin bar of WordPress site. In order to do this just copy paste below function to your functions.php file in theme folder.

	function replace_howdy( $wp_admin_bar ) {
	 $newtitle = str_replace( 'Howdy,', 'Hi, Administrator', $my_account->title );
	 $wp_admin_bar->add_node( array(
	 'id' => 'my-account',
	 'title' => $newtitle,
	 ) );
	 add_filter( 'admin_bar_menu', 'replace_howdy',25 );
It's only fair to share...Share on Google+Tweet about this on TwitterShare on Facebook

Posts you may like: