W3cubDocs

/WordPress

apply_filters( ‘get_custom_logo’, string $html, int $blog_id )

Filters the custom logo output.

Parameters

$htmlstring
Custom logo HTML output.
$blog_idint
ID of the blog to get the custom logo for.

Source

return apply_filters( 'get_custom_logo', $html, $blog_id );

Changelog

Version Description
4.6.0 Added the $blog_id parameter.
4.5.0 Introduced.

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/get_custom_logo