# the_excerpt()

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

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

## Сигнатура

```php
the_excerpt()
```

## Описание

Выводит отрывок записи.

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

Файл: `wp-includes/post-template.php:390`

```php
function the_excerpt() {

	/**
	 * Filters the displayed post excerpt.
	 *
	 * @since 0.71
	 *
	 * @see get_the_excerpt()
	 *
	 * @param string $post_excerpt The post excerpt.
	 */
	echo apply_filters( 'the_excerpt', get_the_excerpt() );
}
```

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

- 0.71 — Introduced.

## Связанные

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

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