Hello,
if you want to hardcode redirect to another url different from your origin web-site then you may use next snippet
add_filter('header_account_link', function($url) {
return "https://tomoo7.com/dashboard/";
});
Otherwise if you want to redirect to ‘dashboard’ but on your web-site then
add_filter('header_account_link', function($url) {
return home_url('/dashboard/');
});
WordPress documentation: https://developer.wordpress.org/reference/functions/home_url/
Regards