Filters the comment author's URL for display.
$comment_author_urlstring$comment_idstringwp-includes/comment-template.php:407comment_author_url()<?php * @since 1.2.0 * @since 4.1.0 The `$comment_id` parameter was added. * * @param string $comment_author_url The comment author's URL. * @param string $comment_id The comment ID as a numeric string. */ echo apply_filters( 'comment_url', $comment_author_url, $comment->comment_ID );} /** * Retrieves the HTML link of the URL of the author of the current comment. * * $link_text parameter is only used if the URL does not exist for the commentIntroduced in 1.2.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.