WordPress at a glance
filter is not described

comment_max_links_url filter-hook . WP 3.0.0

Filters the number of links found in a comment.

Usage

add_filter( 'comment_max_links_url', 'filter_function_name_8850', 10, 3 );
function filter_function_name_8850( $num_links, $url, $comment ){
	// filter...

	return $num_links;
}
$num_links(int)
The number of links found.
$url(string)
Comment author's URL. Included in allowed links total.
$comment(string)
Content of the comment.

Notes

  • Since 4.7.0 Added the $comment parameter.

Where the hook is called

check_comment()
wp-includes/comment.php 63
$num_links = apply_filters( 'comment_max_links_url', $num_links, $url, $comment );

Where the hook is used (in WP core)

Does not used.