WordPress at Your Fingertips
function is not described

site_icon_url() WP 4.3.0

Displays the Site Icon URL.

No Hooks.


null. Nothing.


site_icon_url( $size, $url, $blog_id );
Size of the site icon.
Default: 512 (pixels)
Fallback url if no site icon is found.
Default: ''
ID of the blog to get the site icon for.
Default: current blog


Since 4.3.0 Introduced.

Code of site_icon_url() WP 5.8

function site_icon_url( $size = 512, $url = '', $blog_id = 0 ) {
	echo esc_url( get_site_icon_url( $size, $url, $blog_id ) );