W3cubDocs

/WordPress

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 on Trac

Changelog

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

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