WPDev.one
Core Function
View Source on Trac ↗

has_site_icon()

has_site_icon( mixed $blog_id = 0 )

Determines whether the site has a Site Icon.

Parameters 0 required

Name / Type Description
$blog_id
int

Optional. ID of the blog in question. Default current blog.

Return Value

(bool)
Whether the site has a site icon or not.

Function Information

Since Version
4.3.0
Source File
wp-includes/general-template.php
Advertisement