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 about this article?

Comments are currently closed for this article, but rest assured we're still here to help! Send us a message and we'll get back to you.

Contact us