Uses
Uses | Description |
---|---|
wp-includes/general-template.php: get_site_icon_url() | Returns the Site Icon URL. |
Whether the site has a Site Icon.
(int) (Optional) ID of the blog in question. Default current blog.
(bool) Whether the site has a site icon or not.
File: wp-includes/general-template.php
function has_site_icon( $blog_id = 0 ) { return (bool) get_site_icon_url( 512, '', $blog_id ); }
Version | Description |
---|---|
4.3.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/has_site_icon