the_custom_logo( int $blog_id )
Displays a custom logo, linked to home.
Description Description
Parameters Parameters
- $blog_id
-
(int) (Optional) ID of the blog in question. Default is the ID of the current blog.
Source Source
File: wp-includes/general-template.php
function the_custom_logo( $blog_id = 0 ) { echo get_custom_logo( $blog_id ); }
Expand full source code Collapse full source code View on Trac
Changelog Changelog
Version | Description |
---|---|
4.5.0 | Introduced. |
User Contributed Notes User Contributed Notes
You must log in before being able to contribute a note or feedback.
To get the URL of the custom logo image:
See Also
get_custom_logo()
has_custom_logo()
Add your custom logo to the login page:
Expand full source codeCollapse full source code