apply_filters( 'get_custom_logo', string $html , int $blog_id )
Filters the custom logo output.
Parameters
-
$html
string -
Custom logo HTML output.
-
$blog_id
int -
ID of the blog to get the custom logo for.
Source
File: wp-includes/general-template.php
.
View all references
return apply_filters( 'get_custom_logo', $html, $blog_id );
Changelog
Version | Description |
---|---|
4.6.0 | Added the $blog_id parameter. |
4.5.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.
If you test your site with Google’s Structured data testing tool you will get an error about itemprop “logo” not being recognized by google as a WP Header element.
Here is how you remove itemprop