apply_filters( ‘get_comment_author_url’, string $comment_author_url, string|int $comment_id, WP_Comment|null $comment )

In this article

Filters the comment author’s URL.

Parameters

$comment_author_urlstring
The comment author’s URL, or an empty string.
$comment_idstring|int
The comment ID as a numeric string, or 0 if not found.
$commentWP_Comment|null
The comment object, or null if not found.

Source

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

Changelog

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

User Contributed Notes

You must log in before being able to contribute a note or feedback.