# rest_response_link_curies

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

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

## Сигнатура

```php
apply_filters( 'rest_response_link_curies', array $additional )
```

## Описание

CURIEs allow a shortened version of URI relations. This allows a more usable form for custom relations than using the full URI. These work similarly to how XML namespaces work.

Registered CURIES need to specify a name and URI template. This will automatically transform URI relations into their shortened version.
The shortened relation follows the format `{name}:{rel}`. `{rel}` in the URI template will be replaced with the `{rel}` part of the shortened relation.

For example, a CURIE with name `example` and URI template `https://w.org/{rel}` would transform a `https://w.org/term` relation into `example:term`.

Well-behaved clients should expand and normalize these back to their full URI relation, however some naive clients may not resolve these correctly, so adding new CURIEs may break backward compatibility.

## Параметры

- `$additional` `array` — обязательный. Дополнительные CURIE для регистрации в REST API.

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

Дополнительные CURIE для регистрации в REST API.

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

Файл: `wp-includes/rest-api/class-wp-rest-response.php:289`

```php
$additional = apply_filters( 'rest_response_link_curies', array() );
```

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

- 4.5.0 — Introduced.

## Связанные

Используется в: `WP_REST_Response::get_curies`.

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