WordPress at a glance
function is not described

has_site_icon() WP 4.3.0

Whether the site has a Site Icon.

No Hooks.


true/false. Whether the site has a site icon or not.


has_site_icon( $blog_id );
ID of the blog in question.
Default: current blog

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

function has_site_icon( $blog_id = 0 ) {
	return (bool) get_site_icon_url( 512, '', $blog_id );