How to replace Howdy message in WordPress

TIPS

May 25, 2019 | WooCommerce Tips | 0 comments

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. [php] /* 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); [/php]

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

More Tips

Ad - Web Hosting from SiteGround - Crafted for easy site management. Click to learn more.

Cloudways Hosting

WPEngine Hosting

Pressable Hosting

AccuWeb Hosting

Ask the Divi Guy a Question

"*" indicates required fields