Adding WordPress Tags to the searched fields in customized search query

I have a website where I need to be able to search for Posts based on title, tags, and content of custom fields. I’ve made the modifications below to my functions.php file. (Code for including the custom fields was borrowed from here: https://adambalee.com/search-wordpress-by-custom-fields-without-a-plugin/)

This successfully searches by post title and my custom fields, but I need help with how to make further modifications to also search the TAGS on the post. I tried a few things but couldn’t get the results I was looking for.