Core Function
View Source on Trac ↗ has_custom_logo()
has_custom_logo( mixed $blog_id = 0 ) Determines whether the site has a custom logo.
Parameters 0 required
| Name / Type | Description |
|---|---|
| $blog_id int | Optional. ID of the blog in question. Default is the ID of the current blog. |
Return Value
(bool)
Whether the site has a custom logo or not.
Function Information
Since Version
4.5.0
Source File
wp-includes/general-template.php
Advertisement