get_custom_logo( int $blog_id )
Returns a custom logo, linked to home unless the theme supports removing the link on the home page.
Parameters
- $blog_id
-
(Optional) ID of the blog in question. Default is the ID of the current blog.
Return
(string) Custom logo markup.
Source
File: wp-includes/general-template.php
Changelog
Version | Description |
---|---|
5.5.1 | Disabled lazy-loading by default. |
5.5.0 | Added option to remove the link on the home page with unlink-homepage-logo theme support for the custom-logo theme feature. |
4.5.0 | Introduced. |