WordPress replace howdy function now throwing deprecated warning

Thank you @mmm that helps! Setting the priority to 9992 allows this function to work in WP V6.6

/** =============================================================
 * replace WordPress Howdy in Admin Bar with Hi in WordPress 6.6+
 * or remove howdy (replace with nothing)
 */
function replace_howdy( $wp_admin_bar ) {
    $my_account = $wp_admin_bar->get_node('my-account');
    if ( isset( $my_account->title ) ) {
        $newtitle = str_replace( 'Howdy,', '', $my_account->title );
        $wp_admin_bar->add_node( array(
            'id' => 'my-account',
            'title' => $newtitle,
        ) );
    }
};
add_filter( 'admin_bar_menu', 'replace_howdy', 9992 );

deneme bonusudeneme bonusu veren sitelerpulibet girişOnwin Güncel Giriştürkçe altyazılı pornocanlı bahis casino