WordPress at a glance

the_custom_logo() WP 1.0

Displays a custom logo, linked to home.

Возвращает

Null. Ничего.

Works based on: get_custom_logo()

No Hooks.

Usage

the_custom_logo( $blog_id );
$blog_id(int)
ID of the blog in question.
Default: ID of the current blog

Список изменений

С версии 4.5.0 Введена.

Code of the_custom_logo() WP 5.5.1

wp-includes/general-template.php
<?php
function the_custom_logo( $blog_id = 0 ) {
	echo get_custom_logo( $blog_id );
}

Related Functions

From tag: custom_logo

More from category: Other Theme Functions

No comments
    Log In . Register