WordPress at a glance
function is not described

site_icon_url() WP 4.3.0

Displays the Site Icon URL.

No Hooks.


Nothing (null).


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

Code of site icon url: wp-includes/general-template.php WP 5.2.2

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