# get_comment_author_url

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

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

## Сигнатура

```php
apply_filters( 'get_comment_author_url', string $comment_author_url, string|int $comment_id, WP_Comment|null $comment )
```

## Описание

Фильтрует URL автора комментария.

## Параметры

- `$comment_author_url` `string` — обязательный. URL автора комментария или пустая строка.
- `$comment_id` `string|int` — обязательный. ID комментария в виде числовой строки или 0, если не найден.
- `$comment` `WP_Comment|null` — обязательный. Объект комментария или null, если не найден.

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

URL автора комментария или пустая строка.

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

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

```php
return apply_filters( 'get_comment_author_url', $comment_author_url, $comment_id, $comment );
```

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

- 4.1.0 — The $comment_id and $comment parameters were added.
- 1.5.0 — Introduced.

## Связанные

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

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