# the_embed_site_title()

URL: https://chugunov.pro/api-wordpress/functions/the_embed_site_title/
Проверено на WordPress 6.9, обновлено 06.08.2026.
Источник: независимый русскоязычный справочник chugunov.pro. Не является официальной документацией WordPress.

Тип: функция.
Появился в версии: 4.5.0.

## Сигнатура

```php
the_embed_site_title()
```

## Описание

Выводит необходимую разметку для заголовка сайта в шаблоне встраивания.

## Исходный код

Файл: `wp-includes/embed.php:1232`

```php
function the_embed_site_title() {
	$site_title = sprintf(
		'<a href="%s" target="_top"><img src="%s" srcset="%s 2x" width="32" height="32" alt="" class="wp-embed-site-icon" /><span>%s</span></a>',
		esc_url( home_url() ),
		esc_url( get_site_icon_url( 32, includes_url( 'images/w-logo-blue.png' ) ) ),
		esc_url( get_site_icon_url( 64, includes_url( 'images/w-logo-blue.png' ) ) ),
		esc_html( get_bloginfo( 'name' ) )
	);

	$site_title = '<div class="wp-embed-site-title">' . $site_title . '</div>';

	/**
	 * Filters the site title HTML in the embed footer.
	 *
	 * @since 4.4.0
	 *
	 * @param string $site_title The site title HTML.
	 */
	echo apply_filters( 'embed_site_title_html', $site_title );
}
```

## История изменений

- 4.5.0 — Introduced.

## Связанные

Использует: [`get_site_icon_url`](https://chugunov.pro/api-wordpress/functions/get_site_icon_url/), [`includes_url`](https://chugunov.pro/api-wordpress/functions/includes_url/), [`esc_url`](https://chugunov.pro/api-wordpress/functions/esc_url/), [`esc_html`](https://chugunov.pro/api-wordpress/functions/esc_html/), [`get_bloginfo`](https://chugunov.pro/api-wordpress/functions/get_bloginfo/), [`home_url`](https://chugunov.pro/api-wordpress/functions/home_url/), [`apply_filters`](https://chugunov.pro/api-wordpress/functions/apply_filters/).

Оригинал в официальной документации: https://developer.wordpress.org/reference/functions/the_embed_site_title/
