site_icon_url

Advertisement

Summery Summery

Displays the Site Icon URL.

Syntax Syntax

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

Parameters Parameters

$size

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

Default value: 512

$url

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

Default value: ''

$blog_id

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

Source Source

File: wp-includes/general-template.php

	return $output;
}

Advertisement

Changelog Changelog

Changelog
Version Description
4.3.0 Introduced.

Advertisement

Leave a Reply