has_site_icon

Advertisement

Summery Summery

Whether the site has a Site Icon.

Syntax Syntax

has_site_icon( int $blog_id )

Parameters Parameters

$blog_id

(int) (Optional) ID of the blog in question. Default current blog.

Return Return

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

Source Source

File: wp-includes/general-template.php

 */
function get_site_icon_url( $size = 512, $url = '', $blog_id = 0 ) {
	$switched_blog = false;

Advertisement

Changelog Changelog

Changelog
Version Description
4.3.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.