WordPress at a glance
filter is not described

get_custom_logo filter-hook . WP 4.5.0

Filters the custom logo output.


add_filter( 'get_custom_logo', 'filter_function_name_8650', 10, 2 );
function filter_function_name_8650( $html, $blog_id ){
	// filter...

	return $html;
Custom logo HTML output.
ID of the blog to get the custom logo for.


  • Since 4.6.0 Added the $blog_id parameter.

Where the hook is called

wp-includes/general-template.php 923
return apply_filters( 'get_custom_logo', $html, $blog_id );

Where the hook is used (in WP core)

Does not used.