Hi there,
The site icon feature is a core WordPress feature, so we don’t have a specific filter you can use.
However, you can just add a favicon.ico file to the root of your website, and it will be used as your favicon automatically.
To center something in a Hook, you can do this:
<div class="center-me">
Your code
</div>
Then add some CSS:
.center-me {
text-align: center;
}
Yoast SEO and GeneratePress work great together. In fact, we’re using it here on this website.
Hope this helps!