# block_bindings_supported_attributes

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

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

## Сигнатура

```php
apply_filters( 'block_bindings_supported_attributes', string[] $supported_block_attributes, string $block_type )
```

## Описание

Фильтрует поддерживаемые атрибуты блока для привязок блоков.

## Параметры

- `$supported_block_attributes` `string[]` — обязательный. Атрибуты блока, поддерживаемые привязками блоков.
- `$block_type` `string` — обязательный. Тип блока, атрибуты которого фильтруются.

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

Атрибуты блока, поддерживаемые привязками блоков.

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

Файл: `wp-includes/block-bindings.php:165`

```php
$supported_block_attributes = apply_filters(
	'block_bindings_supported_attributes',
	$supported_block_attributes,
	$block_type
);
```

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

- 6.9.0 — Introduced.

## Связанные

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

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