WordPress at a glance
filter is not described

comment_url filter-hook . WP 1.2.0

Filters the comment author's URL for display.

Usage

add_filter( 'comment_url', 'filter_function_name_5132', 10, 2 );
function filter_function_name_5132( $author_url, $comment_ID ){
	// filter...

	return $author_url;
}
$author_url(string)
The comment author's URL.
$comment_ID(int)
The comment ID.

Notes

  • Since 4.1.0 The $comment_ID parameter was added.

Where the hook is called

comment_author_url()
wp-includes/comment-template.php 347
echo apply_filters( 'comment_url', $author_url, $comment->comment_ID );

Where the hook is used (in WP core)

wp-includes/default-filters.php 70
add_filter( $filter, 'wp_strip_all_tags' );
wp-includes/default-filters.php 71
add_filter( $filter, 'esc_url' );
wp-includes/default-filters.php 73
add_filter( $filter, 'wp_kses_data' );