If you want to modify or change the homepage link in the logo then you can use the below filter.
Add this code into a custom plugin and modify the $url, that should do the trick for you.
$url = 'URL YOU WANT TO ADD';
That’s it for this tutorial!
We hope it helped you. If you have any feedback or questions, then please share them in the comments section below.