# block_editor_settings

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

Тип: хук-фильтр.
Появился в версии: 5.0.0.

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

## Сигнатура

```php
apply_filters_deprecated( 'block_editor_settings', array $editor_settings, WP_Post $post )
```

## Описание

Фильтрует настройки, передаваемые в блочный редактор.

## Параметры

- `$editor_settings` `array` — обязательный. Настройки редактора по умолчанию.
- `$post` `WP_Post` — обязательный. Редактируемая запись.

## Фильтруемое значение

Настройки редактора по умолчанию.

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

Файл: `wp-includes/block-editor.php:659`

```php
$editor_settings = apply_filters_deprecated( 'block_editor_settings', array( $editor_settings, $post ), '5.8.0', 'block_editor_settings_all' );
```

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

- 5.8.0 — Deprecated. Use the 'block_editor_settings_all' filter instead.
- 5.0.0 — Introduced.

## Связанные

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

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