site_icon_url

SummerySummery

Displays the Site Icon URL.

Syntax

site_icon_url( int $size = 512, string $url = '', int $blog_id )

ParametersParameters

$size

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

Default value: 512

$url

(string) (Optional) Fallback url if no site icon is found.

Default value: ''

$blog_id

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

SourceSource

File: wp-includes/general-template.php


			

ChangelogChangelog

Changelog
Version Description
4.3.0 Introduced.
Scroll to Top