A WordPress-centric search engine for devs and theme authors



has_site_icon ›

Since4.3.0
Deprecatedn/a
has_site_icon ( $blog_id = 0 )
Parameters:
  • (int) $blog_id Optional. ID of the blog in question. Default current blog.
    Required: No
    Default:
Returns:
  • (bool) Whether the site has a site icon or not.
Defined at:
Codex:

Whether the site has a Site Icon.



Source

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