wp-includes/general-template.php:1162Displays a custom logo, linked to home unless the theme supports removing the link on the home page.
$blog_idintoptional0function the_custom_logo( $blog_id = 0 ) { echo get_custom_logo( $blog_id );}Introduced in 4.5.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
src/wp-includes/general-template.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.