On this page
the_custom_logo( int $blog_id )
Displays a custom logo, linked to home unless the theme supports removing the link on the home page.
Parameters
$blog_idint Optional-
ID of the blog in question. Default is the ID of the current blog.
Source
File: wp-includes/general-template.php. View all references
function the_custom_logo( $blog_id = 0 ) {
echo get_custom_logo( $blog_id );
}
Related
Uses
| Uses | Description |
|---|---|
| get_custom_logo() wp-includes/general-template.php | Returns a custom logo, linked to home unless the theme supports removing the link on the home page. |
Changelog
| Version | Description |
|---|---|
| 4.5.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/the_custom_logo