# wp_title_rss()

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

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

> Устаревший элемент. Помечен устаревшим с версии 4.4.0.

## Сигнатура

```php
wp_title_rss( string $deprecated = '&#8211;' )
```

## Описание

Выводит заголовок блога для отображения в заголовке ленты.

## Параметры

- `$deprecated` `string` — необязательный, по умолчанию `'&#8211;'`. Не используется.

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

Файл: `wp-includes/feed.php:129`

```php
function wp_title_rss( $deprecated = '&#8211;' ) {
	if ( '&#8211;' !== $deprecated ) {
		/* translators: %s: 'document_title_separator' filter name. */
		_deprecated_argument( __FUNCTION__, '4.4.0', sprintf( __( 'Use the %s filter instead.' ), '<code>document_title_separator</code>' ) );
	}

	/**
	 * Filters the blog title for display of the feed title.
	 *
	 * @since 2.2.0
	 * @since 4.4.0 The `$sep` parameter was deprecated and renamed to `$deprecated`.
	 *
	 * @see get_wp_title_rss()
	 *
	 * @param string $wp_title_rss The current blog title.
	 * @param string $deprecated   Unused.
	 */
	echo apply_filters( 'wp_title_rss', get_wp_title_rss(), $deprecated );
}
```

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

- 4.4.0 — The optional $sep parameter was deprecated and renamed to $deprecated.
- 2.2.0 — Introduced.

## Связанные

Использует: [`get_wp_title_rss`](https://chugunov.pro/api-wordpress/functions/get_wp_title_rss/), [`__`](https://chugunov.pro/api-wordpress/functions/__/), [`_deprecated_argument`](https://chugunov.pro/api-wordpress/functions/_deprecated_argument/), [`apply_filters`](https://chugunov.pro/api-wordpress/functions/apply_filters/).

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