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

Parameters

$avatar

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

$blog_id

(int) The local site Blog ID.

$size

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

$default

(string) The default URL for the Site Icon.

$alt

(string) The alt tag for the avatar.


Changelog

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