How to replace Howdy message in WordPress

WooCommerce Tips

I’m guessing someone in Texas had something to do with the word “Howdy” being the welcome prefix in WordPress. It’s easy enough to change.

Add the function below to your child theme functions.php file.

/* replacing Howdy with Hello */
function howdy_message($translated_text, $text, $domain) {
$new_message = str_replace('Howdy', 'Hello', $text);
return $new_message;
add_filter('gettext', 'howdy_message', 10, 3);