Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: Anonymous Profile in Tool Bar

@robin-w

Moderator

Haven’t tested but googled and found this

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

Put this in your child theme’s function file – or use

Code Snippets

Skip to toolbar