Home / admin / Change Howdy in wp-admin to Hi
  • How to Change Howdy in wp-admin to Hi

    no thumbnail sorry: Change Howdy in wp-admin to Hi

    Fun little snippet that will change the Howdy message that displays in the header of your wordpress admin.

    ( click code to copy )

    wordpress snippet : PHP

    <>
    <?php
            add_filter('admin_user_info_links','howdy_msg');
            function howdy_msg($links) {
                    $greeting = 'Hi';
                    $links['5'] = str_replace('Howdy',$greeting, $links['5']);
                    return $links;
            }
    ?>
    

    ( WordPress codex functions, hooks, in this snippet. )

    admin_user_info_links, add_filter,