apply_filters ( 'jetpack-get_site_icon', string $avatar, int $blog_id, string $size, string $default, string $alt )

Filters the display options for the Site Icon.

Source file: modules/site-icon/site-icon-functions.php

View in GitHub



(string) The Site Icon in an html image tag.


(int) The local site Blog ID.


(string) The size of the Site Icon, default is 512.


(string) The default URL for the Site Icon.


(string) The alt tag for the avatar.


Since: Jetpack 3.2.0

Have a question?

Comments are closed for this article, but we're still here to help! Visit the support forum and we'll be happy to answer any questions.

View support forum