Determines whether the site has a Site Icon.
Parameters
$blog_id
intoptional- ID of the blog in question. Default current blog.
Source
function has_site_icon( $blog_id = 0 ) {
return (bool) get_site_icon_url( 512, '', $blog_id );
}
Changelog
Version | Description |
---|---|
4.3.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.