# comments_popup_link_attributes

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

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

## Сигнатура

```php
apply_filters( 'comments_popup_link_attributes', string $link_attributes )
```

## Описание

Фильтрует атрибуты ссылки на комментарии для отображения.

## Параметры

- `$link_attributes` `string` — обязательный. Атрибуты ссылки на комментарии. По умолчанию пусто.

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

Атрибуты ссылки на комментарии. По умолчанию пусто.

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

Файл: `wp-includes/comment-template.php:1712`

```php
$link_attributes = apply_filters( 'comments_popup_link_attributes', $link_attributes );
```

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

- 2.5.0 — Introduced.

## Связанные

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

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