WPDev.one
Core Function
View Source on Trac ↗

get_custom_logo()

get_custom_logo( mixed $blog_id = 0 )

Returns a custom logo, linked to home unless the theme supports removing the link on the home page.

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

(string)
Custom logo markup.

Function Information

Since Version
4.5.0
Source File
wp-includes/general-template.php
Advertisement