WPDev.one
Core Function
View Source on Trac ↗

site_icon_url()

site_icon_url( mixed $size = 512, mixed $url = '', mixed $blog_id = 0 )

Displays the Site Icon URL.

Parameters 0 required

Name / Type Description
$size
int

Optional. Size of the site icon. Default 512 (pixels).

$url
string

Optional. Fallback url if no site icon is found. Default empty.

$blog_id
int

Optional. ID of the blog to get the site icon for. Default current blog.

Return Value

(void)
No return value description available.

Function Information

Since Version
4.3.0
Source File
wp-includes/general-template.php
Advertisement